核心测查看端口流量,有流量异常的端口把网线拔掉看网络是否恢复正常。
[H3C]loopback-detection global enable vlan all   //全局开启环路检测,并对所有的VLAN生效
[H3C]loopback-detection interval-time 250 //配置环路检测的时间间隔为250秒
[H3C]int g 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 就是没有环路
								 
								
暂无评论