show mac-address

Syntax

show mac-address [vlan <VLAN-ID>] [<PORT-LIST>] [<MAC-ADDR>]

Description

Lists all MAC addresses on the switch and their corresponding port numbers. You can also choose to list specific addresses and ports, or addresses and ports on a VLAN. The switches operate with a multiple forwarding database architecture.

List all learned MAC addresses on the switch and corresponding port numbers

switch# show mac-address

List all learned MAC addresses on one or more ports and corresponding port numbers

switch# show mac-address a1-a4,a6

List all learned MAC addresses on a VLAN and corresponding port numbers

switch# show mac-address vlan 100

List the port on which the switch learned a specific MAC address

To find the port on which the switch learns a MAC address of 080009-21ae84: