1350
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter Show Commands
show port-security
show port-security
To display the port security configuration on an interface, use the
show port-security
command.
show port-security
[
address
[
interface
{
ethernet
slot/[QSFP-module/]port
|
port-channel
channel-num
}] |
interface
{
ethernet
slot/[QSFP-module/]port
|
port-channel
channel-num
} |
state
]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the port security configuration on an interface:
switch#
show port-security
Total Secured Mac Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 8192
----------------------------------------------------------------------------
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
----------------------------------------------------------------------------
Ethernet1/5 10 0 0 Shutdown
============================================================================
switch#
address
(Optional) Displays the secure MAC address of a port.
interface
(Optional) Displays the secure address for an interface.
ethernet
slot/[QSFP-module/]port
(Optional) Displays the secure address for an Ethernet interface.The
slot
number is from 1 to 255. The
QSFP-module
number is from 1 to 4. The
port
number is from 1 to 128.
Note
The
QSFP-module
number applies only to the QSFP+ Generic
Expansion Module (GEM).
port-channel
channel-num
(Optional) Displays the secure address for an EtherChannel interface. The
channel number is from 1 to 4096.
state
(Optional) Displays whether a port is secure.
Release
Modification
6.0(2)N1(1)
Support for the QSFP+ GEM was added.
5.2(1)N1(1)
This command was introduced.