不涉及
本案例采用H3C HCL模拟器的S5820交换机开启环路检测,当出现环路时可快速被检测到并做相应的动作。
1、全局开启环路检测,并设置环路检测的时间间隔
2、端口开启环路检测,并设置发生环路时采取的动作
[H3C]loopback-detection global enable vlan all //全局开启环路检测,并对所有的VLAN生效
[H3C]loopback-detection interval-time 250 //配置环路检测的时间间隔为250秒
[H3C]int gi 1/0/1
[H3C-GigabitEthernet1/0/1]loopback-detection enable vlan all //接口开启环路检测,并对所有的VLAN生效
[H3C-GigabitEthernet1/0/1]loopback-detection action shutdown //当检测到环路时,环路检测会将此端口关闭
查看环路检测的显示信息:
[H3C]dis loopback-detection
Loopback detection is enabled. //环路检测已开启
Loopback detection interval is 250 second(s). //环路检测的时间间隔为250秒
No loopback is detected. //目前没有检测到环路
建议:
1、环路检测对下行的二层接口开启。
2、另外当设备也开启了STP,尽量不要使用环路检测,可能会与STP不兼容,影响到STP的运行。
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
同问