Displaying Smartports Macros
#macro description cisco-ethernetip
switchport host
switchport access vlan $access_vlan
storm-control broadcast level 3.00 1.00
service-policy input CIP-Traffic
#service-policy input 1588
Switch# configure terminal
Switch(config)# interface fastethernet 1/1
Switch(config-if)# macro apply cisco-ethernetip $access_vlan 1
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled
Displaying Smartports Macros
To display the Smartports macros, use one or more of the privileged EXEC commands in
Table 12-2
Commands for Displaying Smartports Macros
Command
show parser macro
show parser macro name macro-name
show parser macro brief
show parser macro description [interface
interface-id]
Cisco IE 3000 Switch Software Configuration Guide
12-8
Purpose
Displays all configured macros.
Displays a specific macro.
Displays the configured macro names.
Displays the macro description for all interfaces or for a specified
interface.
Chapter 12
Configuring Smartports Macros
Table
OL-13018-01
12-2.