Displaying Smartport Macros - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Displaying SmartPort Macros

Switch(config)# interface fastethernet0/9
Switch(config-if)# macro apply desktop-config
Switch(config-if)# macro description desktop-config
Switch(config-if)# end
Switch# show parser macro name desktop-config
Macro name : desktop-config
Macro type : customizable
macro description desktop-config
# Put the switch in access mode
switchport mode access
# Allow port to move to forwarding state quickly
spanning-tree portfast
# BPDUs should not be sent into the network
spanning-tree bpduguard enable
# Restrict the port to one address -- that of desktop
switchport port-security maximum 1
# Put all data traffic in vlan 1
switchport access vlan 1
Switch# show parser macro description
Interface
--------------------------------------------------------------
Fa0/9
--------------------------------------------------------------
Displaying SmartPort Macros
To display the SmartPort macros, use one or more of the privileged EXEC commands in
Table 11-1 Commands for Displaying SmartPort Macros
Command
show parser macro
show parser macro name macro-name
show parser macro brief
show parser macro description [interface
interface-id]
Catalyst 3550 Multilayer Switch Software Configuration Guide
11-4
Macro Description
desktop-config
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 11
Configuring SmartPort Macros
Table
78-11194-09
11-1.

Advertisement

Table of Contents
loading

Table of Contents