How to view the MAC addresses of VLANs connected to a switch
show mac-address [vlan <VLAN-ID> ] [<PORT-LIST>] [<MAC-ADDR>] [TUNNEL-ID] 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. (from what I know you can check that by Switch#sh mac-address-table command) I mean say you are on switch1 what command do you use to check swicth1's mac address? 2) Does each switchport interface have a separate mac addresses for each. To find the MAC Address on a Cisco switch port, we use the command show mac-address-table. When performing troubleshooting or maintenance tasks on an enterprise network, it is sometimes necessary to identify the MAC address of particular devices (hosts, other switches, other network devices) that are connected to the network.
Read More