EasyManua.ls Logo

Cisco Catalyst 4500 Series - Page 498

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-440
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
macro auto execute (user-defined function)
switchport port-security maximum 1
switchport port-security violation restrict
switchport port-security aging time 2
switchport port-security aging type inactivity
spanning-tree portfast
spanning-tree bpduguard enable
exit
fi
if [[ $LINKUP -eq NO ]]; then
conf t
interface $INTERFACE
no macro description $TRIGGER
no switchport access vlan 1
if [[ $AUTH_ENABLED -eq NO ]]; then
no switchport mode access
fi
no switchport port-security
no switchport port-security maximum 1
no switchport port-security violation restrict
no switchport port-security aging time 2
no switchport port-security aging type inactivity
no spanning-tree portfast
no spanning-tree bpduguard enable
exit
fi
}
Switch(config)# end
Related Commands Command Description
macro auto device Simplifies changing the parameters for a built-in functions for a
device type.
macro auto execute (built-in
function)
Changes built-in function default values or to map user-defined
triggers to built-in functions, and to pass the parameter values.
macro auto execute
(remotely-defined trigger)
Maps a trigger to a remotely defined functions.
macro auto global processing Enables Auto Smartports on a switch.
macro auto processing Enables Auto SmartPorts macros on a specific interface.
macro auto sticky Specifies not to remove configurations applied by ASP across link
flaps and device removal.
shell trigger Creates a user defined trigger.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals