show mac-address-table count

Syntax

show mac-address-table count 
     [dynamic | port <PORT-NUM> | vlan <VLAN-ID>] [vsx-peer]

Description

Displays the number of MAC addresses.

Command context

Operator (>) or Manager (#)

Parameters

dynamic

Show the count of dynamically learned MAC addresses.

<PORT-NUM>

Specifies a physical port on the switch. Use the format member/slot/port (for example, 1/3/1).

vlan <VLAN-ID>

Specifies the number of a VLAN. Range: 1 - 4040.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing the number of MAC addresses:

switch# show mac-address-table count
Number of MAC addresses : 8

Showing the number of dynamically learned MAC addresses:

switch# show mac-address-table count dynamic
Number of MAC addresses : 8

Showing the number of MAC addresses per physical port on the switch:

switch# show mac-address-table count port 1/1/1
Number of MAC addresses : 2

Showing the number of MAC addresses per VLAN:

switch# show mac-address-table count vlan 100
Number of MAC addresses : 5
Showing the number of MAC addresses on the VSX primary and secondary (peer) switch:
vsx-primary# show mac-address-table count
Number of MAC addresses : 26114
vsx-primary# show mac-address-table count vsx-peer
Number of MAC addresses : 26113