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. Some switches (such as the Aruba 8400 Switch Series), use the format
member/slot/port
(for example,1/1/1
). Other switches useslot/port
(for example,1/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.
Authority
Operators or Administrators. Users without administrator authority 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
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