Bootstrap FreeKB - Cisco IOS - show mac address-table command
Cisco IOS - show mac address-table command

Updated:   |  Cisco IOS articles

The show mac address-table command can be used to display the MAC address table in IOS. In this example, the first device is connected to blade 1, interface 1. The second device is connected to blade 1, interface 2.

#> show mac address-table
 vlan mac address     type     learn age   ports
------------------------------------------------
* 100 847b.eb3e.bfc3  dynamic  Yes    0    Gi1/1
* 100 5c70.a35b.13f2  dynamic  Yes    0    Gi1/2
* 100 ecf4.bb20.1305  dynamic  Yes    0    Gi1/3
. . .

 

The address option can be used to only display information for a certain MAC address. In this example, information about MAC address 847b.eb3e.bfc3 is displayed.

#> show mac address-table address 847b.eb3e.bfc3
 vlan mac address     type     learn age   ports
------------------------------------------------
Active Supervisor:
* 100 847b.eb3e.bfc3  dynamic  Yes    0    Gi1/1
Standby Supervisor:
* 100 5c70.a35b.13f2  dynamic  Yes    0    Gi6/1
. . .

 

The interface option can be used to display information for a certain interface. In this example, information about the device connected to Gi1/2 is displayed.

#> show mac address-table interface Gi1/2
 vlan mac address     type     learn age   ports
------------------------------------------------
* 100 5c70.a35b.13f2  dynamic  Yes    0    Gi1/2

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter d5d003 in the box below so that we can be sure you are a human.