show mac-address-table port

Syntax

show mac-address-table port <PORT-NUM> [vsx-peer]

Description

Shows the MAC address table entries for the specified port.

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).

[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 MAC address table entries for port 1/1/1:

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

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