Bcastsup
Bcastsup
This chapter describes how to configure port-based traffic control on a switch and consists of these
sections:
• About Storm Control, page 60-1
• Enabling Broadcast Storm Control, page 60-3
• Enabling Multicast Storm Control, page 60-4
• Disabling Broadcast Storm Control, page 60-5
• Disabling Multicast Storm Control, page 60-6
• Displaying Storm Control, page 60-6
Note For complete syntax and usage information for the switch commands used in this chapter, see the
Cisco IOS Command Reference Guides for the Catalyst 4500 Series Switch.
If a command is not in the Cisco Catalyst 4500 Series Switch Command Reference , you can locate it in
the Cisco IOS Master Command List, All Releases.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-1
Chapter 60 Configuring Storm Control
About Storm Control
Figure 60-1 shows the broadcast traffic patterns on a LAN interface over a given interval. In this
example, broadcast suppression occurs between times T1 and T2 and between T4 and T5. During those
intervals, the amount of broadcast traffic exceeded the configured threshold.
Total
number of
Threshold
broadcast
packets
or bytes
S5706
0 T1 T2 T3 T4 T5 Time
The broadcast suppression threshold numbers and the time interval combination make the broadcast
suppression algorithm work with different levels of granularity. A higher threshold allows more
broadcast packets to pass through.
Broadcast suppression on the Catalyst 4500 series switches is implemented in hardware. The
suppression circuitry monitors packets passing from a LAN interface to the switching bus. If the packet
destination address is broadcast, then the broadcast suppression circuitry tracks the current count of
broadcasts within the one-second interval, and when a threshold is reached, it filters out subsequent
broadcast packets.
Because hardware broadcast suppression uses a bandwidth-based method to measure broadcast activity,
the most significant implementation factor is setting the percentage of total available bandwidth that can
be used by broadcast traffic. Because packets do not arrive at uniform intervals, the one-second interval
during which broadcast activity is measured can affect the behavior of broadcast suppression.
Note A Cisco Catalyst 4500-X series switch checks for a broadcast storm in real-time, too. When a broadcast
storm occurs on a Cisco Catalyst 4500-X series switch and the threshold is reached within a fraction of
a second, the broadcast is suppressed. This behavior on Cisco Catalyst 4500-X series switches is in
addition to the hardware-based and software-based storm control described earlier.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-2
Chapter 60 Configuring Storm Control
Enabling Broadcast Storm Control
This example shows how to enable storm control on an interface and verify configuration:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 2/1
Switch(config-if)# storm-control broadcast level bps 100k
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-3
Chapter 60 Configuring Storm Control
Enabling Multicast Storm Control
Switch(config-if)# end
Note Multicast and broadcast suppression share a common threshold per interface. Multicast suppression
takes effect only if broadcast suppression is enabled. Disabling broadcast suppression on an interface
also disables multicast suppression.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-4
Chapter 60 Configuring Storm Control
Disabling Broadcast Storm Control
This example shows how to enable multicast suppression on ports that already have broadcast
suppression enabled:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 2/1
Switch(config-if)# storm-control broadcast include multicast
Switch(config-if)# end
This example shows how to enable multicast suppression on ports that already have broadcast
suppression enabled:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 2/1
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-5
Chapter 60 Configuring Storm Control
Disabling Multicast Storm Control
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-6
Chapter 60 Configuring Storm Control
Displaying Storm Control
Link Debounce: no
Link Debounce Time: no
Port Security: yes
Dot1x: yes
Maximum MTU: 9198 bytes (Jumbo Frames)
Multiple Media Types: no
Diagnostic Monitoring: N/A
Use the show interfaces counters storm-control command to display a count of discarded packets.
Switch# show interfaces counters storm-control
Port Broadcast Multicast Level TotalSuppressedPackets
Fa3/1 Enabled Disabled 10.00% 46516510
Gi2/1 Enabled Enabled 50.00% 0
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-7
Chapter 60 Configuring Storm Control
Displaying Storm Control
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.8.xE and IOS 15.2(4)Ex
60-8