show port-security address
To show information about MAC addresses secured by the port security feature, use the show port-security
address command.
show port-security address [interface {port-channel channel-number| ethernet slot/port}]
Syntax Description
(Optional) Limits the port-security MAC address
information to a specific interface.
interface
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 address command to view information about all
MAC addresses secured by port security:
switch# show port-security address
Total Secured Mac Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 8192
----------------------------------------------------------------------
Secure Mac Address Table
----------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ------ ----- -------------
1 0054.AAB3.770F STATIC port-channel1 0
1 00EE.378A.ABCE STATIC Ethernet1/4 0
======================================================================
switch#
Cisco Nexus 7000 Series Security Command Reference
853
Show Commands
show port-security address