show mac-address-table vlan

Syntax

show mac-address-table vlan <VLAN-ID> [vsx-peer]

Description

Shows MAC addresses learned by or configured on the specified VLAN.

Command context

Operator (>) or Manager (#)

Parameters

vlan <VLAN-ID>

Specifies the VLAN ID. 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

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

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