show mac-address

Syntax

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

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.

Command context

manager

Parameters

vlan <VLAN-ID>

Show MAC addresses learned on a specified VLAN.

PORT-LIST

Show MAC addresses learned on the specified ports.

<MAC-ADDR>

Show the specified port for a specified MAC address.

TUNNEL-ID

Show MAC addresses learned on the specified VXLAN tunnel.

Usage

show mac-address

Lists all learned MAC addresses on the switch and their corresponding port numbers.

show mac-address a1-a4,a6

Lists all learned MAC addresses on one or more ports and their corresponding port numbers.

show mac-address vlan 100

Lists all learned MAC addresses on a VLAN and their corresponding port numbers.