Example for Configuring Traffic Suppression
Networking Requirements
As shown in Figure 9-3, Switch A is connected to a Layer 2 network and a Layer 3 router. Switch A needs to be configured to prevent broadcast storms caused by a large number of broadcast packets, multicast packets, or unknown unicast packets forwarded at Layer 2.
Configuration Roadmap
The configuration roadmap is as follows:
Configure traffic suppression in the view of 10GE1/0/1 to prevent broadcast storms caused by a large number of broadcast packets, multicast packets, or unknown unicast packets forwarded at Layer 2.
Procedure
- Enter the interface view.
<HUAWEI> system-view [~HUAWEI] sysname SwitchA [*HUAWEI] commit [~SwitchA] interface 10ge 1/0/1
- Configure traffic suppression for broadcast packets. Set the CIR for broadcast traffic to 100 kbit/s.
[~SwitchA-10GE1/0/1] storm suppression broadcast cir 100
- Set bandwidth percentage for multicast packets to 80%.
[*SwitchA-10GE1/0/1] storm suppression multicast 80
- Configure traffic suppression for unknown unicast packets. Set CIR for unknown unicast packets to 100 kbit/s.
[*SwitchA-10GE1/0/1] storm suppression unknown-unicast cir 100 [*SwitchA-10GE1/0/1] commit [~SwitchA-10GE1/0/1] quit