1322
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter Show Commands
show mac address-table count
show mac address-table count
To display the number of entries currently in the MAC address table, use the
show mac address-table
count
command.
show mac address-table count
[
address
EEEE.EEEE.EEEE
] [
dynamic
|
static
] [
interface
{
ethernet
slot/[QSFP-module/]port
|
port-channel
number
}] [
vlan
vlan-id
]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the number of dynamic entries currently in the MAC address table:
switch#
show mac address-table count dynamic
MAC Entries for all vlans:
Total MAC Addresses in Use: 7
switch#
address
EEEE.EEEE.EEEE
(Optional) Displays a count of the MAC address table entries for a
specific address.
dynamic
(Optional) Displays a count of the dynamic MAC addresses.
static
(Optional) Displays a count of the static MAC addresses.
interface
(Optional) Specifies the interface. The interface can be Ethernet or
EtherChannel.
ethernet
slot/[QSFP-module/]port
(Optional) Specifies the Ethernet interface slot number and port
number. 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
number
(Optional) Specifies the EtherChannel interface. The EtherChannel
number is from 1 to 4096.
vlan
vlan-id
(Optional) Displays information for a specific VLAN. The range is
from 1 to 4094.
Release
Modification
6.0(2)N1(1)
Support for the QSFP+ GEM was added.
5.2(1)N1(1)
This command was introduced.