2-224
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
macro apply
# Configure port as an edge network port
spanning-tree portfast
spanning-tree bpduguard enable
--------------------------------------------------------------
Switch#
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/4
Switch(config-if)#
macro apply cisco-desktop $AVID 25
Related Commands
Command
Description
macro description
Adds a description about the macros that are applied to an interface.
macro global
Applies a macro on a switch or applies and traces a macro on a switch.
macro global description
Adds a description about the macros that are applied to the switch.
macro name
Creates a macro.
show parser macro
Displays the macro definition for all macros or for the specified macro.