Show Parser Macro - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

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.
Syntax Description
brief
description [interface
interface-id]
name macro-name
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
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>
Catalyst 2960 Switch Command Reference
2-372
show parser macro [{brief | description [interface interface-id] | name macro-name}] [ | {begin
| exclude | include} expression]
(Optional) Display the name of each macro.
(Optional) Display all macro descriptions or the description of a specific
interface.
(Optional) Display information about a single macro identified by the macro
name.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
78-16882-01

Advertisement

Table of Contents
loading

Table of Contents