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:
Using the menu to view and search MAC addresses
To determine which switch port on a selected VLAN the switch uses to communicate with a specific device on the
network:
Procedure
1. From the Main Menu, select 1. Status and Counters ... , and then select 5. VLAN Address Table.
2. Use the arrow keys to scroll to the VLAN you want, and then press Enter on the keyboard to select it.
Chapter 15 Monitoring and Analyzing Switch Operation
285
Need help?
Do you have a question about the 2530 and is the answer not in the manual?
Questions and answers