Show parser macro – Dell POWEREDGE M1000E User Manual

Page 673

Advertising
background image

2-643

Cisco Catalyst Blade Switch 3120 for HP Command Reference

OL-12248-03

Chapter 2 Cisco Catalyst Blade Switch 3120 for HP 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>

--------------------------------------------------------------

Macro name : cisco-desktop

Macro type : default interface

# macro keywords $AVID

# Basic interface - Enable data VLAN only

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.2(40)EX1

This command was introduced.

Advertising