Cisco show mac address-table command with examples

Home > Search
  by

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

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments