Chapter 2
Catalyst 3550 Switch Cisco IOS Commands
# Ensure port-security age is greater than one minute
# and use inactivity timer
switchport port-security violation restrict
switchport port-security aging time 2
switchport port-security aging type inactivity
# Configure port as an edge network port
spanning-tree portfast
spanning-tree bpduguard enable
--------------------------------------------------------------
Switch#
Switch# configure terminal
Switch(config)# interface fastethernet0/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
OL-8566-02
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 3550 Multilayer Switch Command Reference
macro apply
2-225