Show Port-Security - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

show port-security

show port-security
To display the port security settings for an interface or for the switch, use the show port-security
command.
Syntax Description
address
interface interface-id
interface port-channel
port channel-number
vlan vlan-id
Command Modes
Privileged EXEC mode
Command History
Release
12.1(13)EW
12.2(18)EW
12.2(25)EWA
12.2(31)SGA
Usage Guidelines
If you enter the command without keywords, the output includes the administrative and operational
status of all secure ports on the switch.
If you enter the interface-id value or port-channel-interface value, the show port-security command
displays port security settings for the interface.
If you enter the address keyword, the show port-security address command displays the secure MAC
addresses for all interfaces and the aging information for each secure address.
If you enter the interface-id value and the address keyword, the show port-security address interface
command displays all the MAC addresses for the interface with aging information for each secure
address. You can also use this command to display all the MAC addresses for an interface even if you
have not enabled port security on it.
Sticky MAC addresses are addresses that persist across switch reboots and link flaps.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-844
show port-security [address] [interface interface-id]
[interface port-channel port-channel-number] [vlan vlan-id]
(Optional) Displays all secure MAC addresses for all ports or for a specific
port.
(Optional) Displays port security settings for a specific interface.
(Optional) Displays port security for a specific port-channel interface.
(Optional) Displays port security settings for a specific VLAN.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support was enhanced to display sticky MAC addresses.
Support was enhanced to display settings on a per-VLAN basis.
Support was enhanced to display settings on EtherChannel interfaces.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents