MAC address table
MAC addresses can populate the MAC address table either dynamically, by learning them from the fields contained within the Ethernet headers of the received frames, or they can be statically assigned.
An example of a MAC address table that appears with the
show mac address-table command in a switch can be found below:
SW3#show mac address-table Mac Address Table ------------------------------------------- Vlan Mac Address Type Ports ---- ----------- -------- ----- 1 5254.000b.225e DYNAMIC Gi0/0 1 5254.0010.949f DYNAMIC Gi0/1 1 5254.0010.defe DYNAMIC Gi0/1 1 5254.0011.337a DYNAMIC Gi0/1 1 5254.0012.4282 DYNAMIC Gi0/1 Total Mac Addresses for this criterion: 4 SW3#
Note that the MAC addresses are assigned per port, but also indicate the VLAN to which they belong. A MAC address will remain within the MAC address table for 300 seconds by default. Every time the MAC address is detected on a port, that timer resets to 300 and begins counting down again.
Typically a MAC address should only appear once in any MAC address table. If a MAC address appears on multiple interfaces, it can result in MAC address flapping. The only exception to this rule involves the MAC address of the actual port of a switch that is configured as a trunk port]].
Links to this page:
- HSRP - standby group numbers
- IGMP Snooping internal interface
- MAC address flapping
- MAC address table - multiple entries of the same MAC address
- MAC address table - show command on Nexus device
- MAC address table static multicast entry
- Memory - CAM and TCAM
- Network - Example of communication, encapsulation, and decapsulation, between hosts
- STP - Aging time reduction with a TCN
- STP Topology Change (TC) flag
- Troubleshooting high CPU and memory usage on a switch
- Unknown unicast traffic