2-504
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 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}] [ | {begin
| exclude | include} expression]
Syntax Description
Command Modes User EXEC
Command History
Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
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>
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.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(19)EA1 The command was introduced.