Unknown Unicast Flooding – Understanding Unknown Unicast Flooding

ciscojuniperSecurityswitch

I'm focusing currently on the "Unknown Unicast Flooding", and the proposed solutions from Cisco.

I really need deep information about:

  • Cisco Blocking Unknown Unicast Flooding (UUFB)
  • Unknown Unicast Flood Rate-limiting (UUFRL)
  • Port Unicast and Multicast Flood Blocking
  • Unknown Unicast Forwarding (from Juniper)

I have already the concept they are used to block/limit unicast flooding attacks, however I'm intrested on how they work, the algorithms behind the process, any specific RFC, mechanisms and approaches !

I search about those concept, but what I found is just how configure them without go deep in their algorithms.

Yours sincerely,

Best Answer

There really isn't a lot to this subject, you can block unknown unicasts or you can rate limit them to a particular percentage of the bandwidth. Juniper does have an interesting third option, but I'm not sure how useful it really is. There are no RFCs, each vendor is able to handle (or not) this subject in a different, possibly proprietary, way.

The Cisco configuration documents are usually pretty good about explaining how things work.

For how Cisco Cisco UUFB and UUMB works: Configuring Unknown Unicast Flood Blocking (UUFB)

By default, unknown unicast and multicast traffic is flooded to all Layer 2 ports in a VLAN. You can prevent this behavior by using the UUFB and UMFB features to prevent or limit this traffic. The UUFB and UMFB features block unknown unicast and multicast traffic flooding at a specific port, only permitting egress traffic with MAC addresses that are known to exist on the port. The UUFB and UMFB features are supported on all ports that are configured with the switchport command, including private VLAN (PVLAN) ports.

For how Cisco UUFRL works: Configuring Traffic-Storm Control

Traffic storm control (also called traffic suppression) monitors incoming traffic levels over a 1-second traffic storm control interval and, during the interval, compares the traffic level with the traffic storm control level that you configure. The traffic storm control level is a percentage of the total available bandwidth of the port. Each port has a single traffic storm control level that is used for all types of traffic (broadcast, multicast, and unicast).

Note •The router supports multicast and unicast traffic storm control only on Gigabit Ethernet LAN ports.

•The router supports broadcast traffic storm control on all LAN ports.

•Traffic storm control does not suppress spanning tree packets. Except for spanning tree packets, traffic storm control does not differentiate between control traffic and data traffic.

Traffic storm control monitors the level of each traffic type for which you enable traffic storm control in 1-second traffic storm control intervals. Within an interval, when the ingress traffic for which traffic storm control is enabled reaches the traffic storm control level that is configured on the port, traffic storm control drops the traffic until the traffic storm control interval ends.

Juniper has similar UUFB and UUFRL, but it also has a feature which allows a VLAN to forward all unknown unicast frames to a specific port (trunk), and each VLAN can use a different port in order avoid overloading a particular trunk: Understanding Unknown Unicast Forwarding

To prevent a storm, you can disable the flooding of unknown unicast packets to all VLAN interfaces by configuring one VLAN or all VLANs to forward all unknown unicast traffic to a specific interface. This channels the unknown unicast traffic to a single interface.