show mac-address-table dynamic

Syntax

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

Description

Shows MAC address table information about dynamically learned MAC addresses.

Command context

Operator (>) or Manager (#)

Parameters

<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 use slot/port (for example, 1/1).

<VLAN-ID>

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

[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 all dynamic MAC address table entries:

switch# show mac-address-table dynamic
MAC age-time            : 300 seconds
Number of MAC addresses : 2

MAC Address          VLAN     Type       Port
--------------------------------------------------
00:00:00:00:00:05    1        dynamic    1/1/2
00:00:00:00:00:06    2        dynamic    1/1/1

Showing dynamic MAC address table entries for VLAN 1:

switch# show mac-address-table dynamic vlan 1
MAC age-time            : 300 seconds
Number of MAC addresses : 1

MAC Address          VLAN     Type       Port
--------------------------------------------------
00:00:00:00:00:05    1        dynamic    1/1/2

Showing dynamic MAC address table entries for port 1/1/1:

switch# show mac-address-table dynamic port 1/1/1
MAC age-time            : 300 seconds
Number of MAC addresses : 1

MAC Address          VLAN     Type       Port
--------------------------------------------------
00:00:00:00:00:06    2        dynamic    1/1/1