Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
auto security-port
To enable auto security feature for access (end hosts) or uplink ports, use the auto security-port
command. To disable the feature, use the no form of this command.
Syntax Description
host
uplink
Command Default
none
Command Modes
Interface configuration mode
Command History
Release
3.6.0E
Usage Guidelines
This command is supported on Catalyst 3750X, Catalyst 2960S, and the Catalyst 4500 series starting
with Cisco IOS Release 15.2(2)E.
Examples
The following example shows how to enable auto security on a host-facing port:
Switch# conf t
Enter configuration commands, one per line.
Switch(config)# int g1/0/18
Switch(config-if)# auto security-port host
Switch(config-if)# end
Switch#
Apr
Switch# show auto security
Auto Secure is Enabled globally
AutoSecure is Enabled on below interface(s):
--------------------------------------------
GigabitEthernet1/0/2
GigabitEthernet1/0/3
GigabitEthernet1/0/15
GigabitEthernet1/0/18
auto security-port [host | uplink]
no auto security-port [host | uplink]
Enables auto security on host facing port.
Enables auto security on server facing /uplink port.
Modification
This command was introduced on the Catalyst 4500 series switch.
5 22:16:41.725: %SYS-5-CONFIG_I: Configured from console by consolesh auto security
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
End with CNTL/Z.
auto security-port
2-73