Dell FCX624-I Laptop User Manual


  Open as PDF
of 1494
 
312 PowerConnect B-Series FCX Configuration Guide
53-1002266-01
Flow-based MAC address learning
9
How flow-based learning works
When a packet processor, let call it PP 1, receives an incoming packet with source MAC address X,
it sends a new address message to the CPU. The system learns MAC address X by adding it to the
software MAC table in the CPU, then programming it in the hardware MAC table in the source
packet processor, in this case PP 1. If the MAC address is learned on a trunk port, the MAC
address is also programmed on all of the packet processors that have ports in the same trunk
group.
When another packet processor, let call it PP 2, receives an incoming packet and the packet
destination MAC address matches source MAC address X, it floods the packet in hardware as an
unknown unicast packet and copies the packet to the CPU. The system locates the MAC address in
the software MAC table, then programs the MAC address in the hardware MAC table in PP 2. If the
MAC address is learned on a trunk port, the MAC address is also programmed on all of the packet
processors that have ports in the same trunk group. Once the MAC address is programmed in
hardware, subsequent packets with this destination MAC are forwarded as known unicast packets
and are not copied to the CPU.
Flow-based MAC addresses are aged out by the source packet processor according to the MAC age
time learned on the local port. Furthermore, when a flow-based MAC address is aged out from the
source packet processor, it is also aged out from all other packet processors on which the address
is programmed. In the above example, when MAC address X is aged out from PP 1, it is also aged
out from PP2.
NOTE
Even when flow-based MAC address learning is enabled, some MAC addresses, including but not
limited to control MACs, static MACs, multicast MACs, and MAC addresses resolved through ARP, will
continue to be global MAC addresses. These MAC addresses are always programmed in all packet
processors in a Layer 2 or Layer 3 switch.
NOTE
Global MAC addresses have priority over dynamic flow-based MAC addresses. To ensure that global
MAC addresses are in sync across all packet processors, flow-based MAC addresses may be
overwritten in one or more packet processors. The MAC addresses will be relearned and
reprogrammed using the flow-based method as needed by incoming traffic flows.
Configuration considerations
When configuring flow-based MAC learning, consider the rules and limitations in this section.
Flow-based MAC learning is not supported with the following features:
Disabling the automatic learning of MAC addresses (CLI command mac-learn-disable).
Globally disabling Layer 2 switching (CLI command route-only)
When flow-based MAC learning is enabled, unknown unicast packets are copied to the CPU.
Therefore, flow-based MAC learning should not be enabled if a continuous high rate of
unknown unicast packet flooding is expected, as this will cause high CPU utilization.
Unknown unicast flooding can occur for a known destination MAC address, if the system fails
to program that destination MAC address because the hardware MAC table or hash bucket is
full. This condition can also lead to high CPU utilization.