show parser macro

switchport mode trunk switchport nonegotiate

#Configure qos to trust this interface auto qos voip trust

mls qos trust dscp

#Ensure fast access to the network when enabling the interface.

#Ensure that switch devices cannot become active on the interface. spanning-tree portfast

spanning-tree bpduguard enable

The following example shows how to list the Cisco-provided smart port macros:

Router# show parser macro brief include default

 

 

default global :

cisco-global

 

 

default interface:

cisco-desktop

 

 

default interface:

cisco-phone

 

 

default interface:

cisco-switch

 

 

default interface:

cisco-router

 

 

 

 

Related Commands

 

Command

Description

 

 

 

 

 

 

macro (global

Creates a command macro.

 

 

configuration)

 

 

 

 

 

 

 

macro (interface

Creates an interface-specific command macro.

 

 

configuration)

 

 

 

 

 

 

 

Cisco IOS Configuration Fundamentals Command Reference

 

 

 

 

 

 

 

July 2008

 

 

CF-785

 

 

 

 

 

Page 109
Image 109
Cisco Systems 12000 series manual Macro global, Configuration Macro interface, CF-785