2-582
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
show parser macro
show parser macro
Use the
show parser macro
user EXEC command to display the parameters for all configured macros
or for one macro on the switch.
show parser macro
[{
brief | description
[
interface
interface-id
] |
name
macro-name
}]
Syntax Description
Command Modes
User EXEC
Command History
Examples
This is a partial output example from the
show parser macro
command. The output for the Cisco-default
macros varies depending on the switch platform and the software image running on the switch:
Switch#
show parser macro
Total number of macros = 6
--------------------------------------------------------------
Macro name : cisco-global
Macro type : default global
# Enable dynamic port error recovery for link state
# failures
errdisable recovery cause link-flap
errdisable recovery interval 60
<output truncated>
--------------------------------------------------------------
Macro name : cisco-desktop
Macro type : default interface
# macro keywords $AVID
# Basic interface - Enable data VLAN only
# Recommended value for access vlan (AVID) should not be 1
switchport access vlan $AVID
switchport mode access
<output truncated>
--------------------------------------------------------------
Macro name : cisco-phone
Macro type : default interface
# Cisco IP phone + desktop template
# macro keywords $AVID $VVID
# VoIP enabled interface - Enable data VLAN
# and voice VLAN (VVID)
brief
(Optional) Display the name of each macro.
description
[
interface
interface-id
]
(Optional) Display all macro descriptions or the description of a specific
interface.
name
macro-name
(Optional) Display information about a single macro identified by the macro
name.
Release
Modification
12.2(25)EY
This command was introduced.