配置风暴抑制事例
针对于服务器莫名其妙的发包,可参考案例
对广播、组播或未知单播报文进行风暴控制的低阈值和高阈值
风暴控制的动作
风暴控制的检测时间间隔
操作步骤:
- 进入接口视图
<Quidway> system-view [Quidway] interface gigabitethernet 0/0/1
- 配置广播风暴控制
[Quidway-GigabitEthernet0/0/1] storm-control broadcast min-rate 1000 max-rate 2000
- 配置组播风暴控制
[Quidway-GigabitEthernet0/0/1] storm-control multicast min-rate 1000 max-rate 2000
- 配置未知单播风暴控制
[Quidway-GigabitEthernet0/0/1] storm-control unicast min-rate 1000 max-rate 2000
- 配置风暴控制的动作为阻塞报文
[Quidway-GigabitEthernet0/0/1] storm-control action block
- 配置打开风暴控制时记录日志的功能
[Quidway-GigabitEthernet0/0/1] storm-control enable log
- 配置风暴控制的检测时间间隔
[Quidway-GigabitEthernet0/0/1] storm-control interval 90
- 验证配置结果
执行命令display storm-control interface gigabitethernet 0/0/1查看GE0/0/1接口下的风暴控制配置情况。<Quidway> display storm-control interface gigabitethernet 0/0/1 PortName Type Rate Action Punish- Trap Log Interval Last- (Min/Max) Status Punish-Time ------------------------------------------------------------------------------ GE0/0/1 Multicast 1000 Block shutdown off off 90 2010-12-12 /2000 14:34:00 GE0/0/1 Broadcast 1000 Block shutdown off off 90 2010-12-12 /2000 14:30:00 GE0/0/1 Unicast 1000 Block shutdown off off 90 2010-12-12 /2000 14:36:00
原文地址:https://www.cnblogs.com/dengcongcong/p/10242529.html
时间: 2024-10-11 22:44:45