Layer 2 | 343
Command Modes
EXEC
EXEC Privilege
Command
History
show mac-address-table
Display the MAC address table.
Syntax
show mac-address-table [dynamic | static] [address mac-address | interface interface | vlan
vlan-id] [count [vlan vlan-id] [interface interface-type [slot [/port]]]]
Parameters
interface interface (OPTIONAL) Enter the keyword interface followed by the interface type,
slot and port information:
• For a Port Channel interface, enter the keyword
port-channel followed
by a number:
Range: 1 to 128
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
vlan vlan-id (OPTIONAL) Enter the keyword vlan followed by the VLAN ID to display
the MAC address assigned to the VLAN.
Range: 1 to 4094.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
dynamic (OPTIONAL) Enter the keyword dynamic to display only those MAC
addresses learned dynamically by the switch. Optionally, you can also add
one of these combinations:
address/mac-address, interface/interface,
or
vlan vlan-id.
static (OPTIONAL) Enter the keyword static to display only those MAC address
specifically configured on the switch. Optionally, you can also add one of
these combinations:
address/mac-address, interface/interface, or
vlan vlan-id.
address mac-address (OPTIONAL) Enter the keyword address followed by a MAC address in
the nn:nn:nn:nn:nn:nn format to display information on that MAC address.
interface interface (OPTIONAL) Enter the keyword interface followed by the interface type,
slot and port information:
• For a Port Channel interface, enter the keyword
port-channel followed
by a number:
Range: 1 to 128
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
interface interface-type (OPTIONAL) Instead of entering the keyword interface followed by the
interface type, slot and port information, as above, you can enter the
interface type, followed by just a slot number.