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
macro description
macro global
macro global description
macro name
show parser macro
Catalyst 2960 Switch Command Reference
2-192
Chapter 2
Description
Adds a description about the macros that are applied to an interface.
Applies a macro on a switch or applies and traces a macro on a switch.
Adds a description about the macros that are applied to the switch.
Creates a macro.
Displays the macro definition for all macros or for the specified macro.
Catalyst 2960 Switch Cisco IOS Commands
OL-8604-03