show port-security interface
To show the state of port security on a specific interface, use the show port-security interface command.
show port-security interface {port-channel channel-number| ethernet slot/port}
Syntax Description
Specifies a Layer 2 port-channel interface. The
channel-number argument can be a whole number
from 1 to 4096.
port-channel channel-number
Specifies an Ethernet interface.
ethernetslot/port
Command Default
None
Command Modes
Any command mode
Command History
ModificationRelease
Support for Layer 2 port-channel interfaces was added.4.2(1)
This command was introduced.4.0(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to use the show port-security interface command to view the status of the port
security feature on the Ethernet 1/4 interface:
switch# show port-security interface ethernet 1/4
Port Security : Enabled
Port Status : Secure Down
Violation Mode : Shutdown
Aging Time : 0 mins
Aging Type : Absolute
Maximum MAC Addresses : 5
Total MAC Addresses : 1
Configured MAC Addresses : 1
Sticky MAC Addresses : 0
Security violation count : 0
switch#
Cisco Nexus 7000 Series Security Command Reference
855
Show Commands
show port-security interface