Show Mac Address Of Cisco Switch. Some routers support the ability to insert an etherswitch module into them and allow them to provide routing and switching functionality. Only ports which have the device connected and active will show the mac address detail.
I hope it helps you. To see the switch base mac address only, the simplest command to use is, sw2#show version | include ethernet. Next enter enable mode on the switch by typing enable.
During Troubleshooting, It May Be Helpful To Investigate The Entries In The Mac Table.
That's why i showed it two different ways. To see the switch base mac address only, the simplest command to use is, sw2#show version | include ethernet. Mac address starting with 0018b9 belongs to cisco as per mac vendor database.
After Enabling, You Will Notice The Currently Connected Mac Address (Es) Will Appear In The Running Config:
The addresses are stored in a table called the bridge forwarding table or cam table. Switches maintain a database of mac addresses, both manually configured (static) and dynamically learned entries. This is the sample of the executed output shown in the image :
It Will Show Multiple Mac Addresses On The Uplink Port That Connects To Other Switches.
This will be where the table is populated. On the layer 2 device (switch) enter the username and password if needed. If successful it should look like the picture.
Checking Mac Addresses On A Cisco Switch.
The mac table is used for switching. Port 17 has a device plugged in with this mac address. This command output confirms that sw1 will forward the unicast to 0200.1111.1111 only out.
Base Ethernet Mac Address :
If you know the switch port you can use the following command. Some switches/ios versions have a slight variation of the command. 0018.b974.528f mac address is learned multiple times through same port on different vlans.