View the MAC address table on a Cisco switch

Contributor Icon Contributed by qmchenry Date Icon May 27, 2004  
Tag Icon Tagged: Cisco switch

Switches maintain a database of MAC addresses, both manually configured (static) and dynamically learned entries. During troubleshooting, it may be helpful to investigate the entries in the MAC table.


To view the whole MAC table, use the following command from enable mode:

show mac-address-table

To list only the dynamically learned entries in the MAC table:

show mac-address-table dynamic

Previous recipe | Next recipe |
 
  • show mac-address-table vlan 123
  • sh mac address-table dynamic | exc Gi0/23|Gi0/24
    *** Gi0/23 Gi0/24 puertos de cascadas


    sh mac-address-table interface Fa0/7
    *** MAC del puerto Fa0/7
  • toddbass10
    On an old 5500:

    Usage: show cam [count] <dynamic|static|permanent|system> [vlan]
    show cam <dynamic|static|permanent|system> <mod_num/port_num>
    show cam <mac_addr> [vlan]
    show cam agingtime
    show cam mlsrp <ip_addr> [vlan]
  • merlounes
    show interface serial 0/0
blog comments powered by Disqus