Viewing the MAC addresses of connected devices

Syntax:

show mac-address [ port-list | mac-addr | vlan <vid> ]

Lists the MAC addresses of the devices the switch has detected, along with the number of the specific port on which each MAC address was detected.

[port-list]

Lists the MAC addresses of the devices the switch has detected, on the specified ports.

[mac-addr]

Lists the port on which the switch detects the specified MAC address.

Returns the following message if the specified MAC address is not detected on any port in the switch:

MAC address <

mac-addr> not found.

[vlan <vid>]

Lists the MAC addresses of the devices the switch has detected on ports belonging to the specified VLAN, along with the number of the specific port on which each MAC address was detected.