我可以: 邀请好友来看>>
ZOL星空(中国) > 技术星空(中国) > 交换机星空(中国) > H3C-环路测试教程
帖子很冷清,卤煮很失落!求安慰
返回列表
签到
手机签到经验翻倍!
快来扫一扫!

H3C-环路测试教程

79浏览 / 0回复

qq_68463q831...

qq_68463q831714

0
精华
7
帖子

等  级:Lv.1
经  验:248
  • Z金豆: 0

    千万礼品等你来兑哦~快点击这里兑换吧~

  • 城  市:广东
  • 注  册:2016-05-09
  • 登  录:2016-07-11
发表于 2016-05-12 16:05:17
电梯直达 确定
楼主

交换机以太网端口回环测试功能包括内部环回测试和外部环回测试: 


内部环回测试:在交换机芯片端口自检进行测试,用以定位端口相关功能是否出现故障。 


外部回环测试:以太网端口上接了一个自环头,从端口发出的报文通过自环头又回到了该端口, 



开启内环监测命令: 


sys 


[h3c] interface  ethernet1/0/1 


[h3c-ethernet1/0/1] loopback internal 


  



开启外环监测命令: 


sys 


[h3c] interface  ethernet1/0/1 


[h3c-ethernet1/0/1] loopback external 


  


针对外部环路侦测并处理的配置: 


sys 


[h3c] loopback-detection enabal   #全局开启交换机外部环测试,如果要单独开启某个端口,先进入该端口执行命令,端口列表在 enable前面加数字。 


[h3c] loopback-detection interval-time 60 #设置环回监测时间 为 60 s,默认为30s 


  


例子:端口1开启外部环监测,出现故障并自动关闭该端口 


sys 


[h3c] loopback-detection enable 


[h3c] interface ethernet1/0/1 


[h3c-Ethernet1/0/1] loopback-detection enable 


[h3c-Ethernet1/0/1] loopback-detection interval-time 60 


[h3c-Ethernet1/0/1] loopback-detection shutdown enable 


以上端口是默认的access端口处理 


  


如果端口是trunk和hbrid型: 


sys 


[h3c] loopback-detection enable 


[h3c] interface ethernet1/0/1 


[h3c-Ethernet1/0/1] port link-type trunk 


[h3c-Ethernet1/0/1] loopback-detection enable 


[h3c-Ethernet1/0/1] loopback-detection control  enable 

[h3c-Ethernet1/0/1] loopback-detection interval-time 60 


[h3c-Ethernet1/0/1] loopback-detection shutdown enable 



如果是需要开起端口所属vlan进行的环监测并处理 


sys 


[h3c] loopback-detection enable 


[h3c] interface ethernet1/0/1 


[h3c-Ethernet1/0/1] loopback-detection enable 

[h3c-Ethernet1/0/1] port link-type trunk 


[h3c-Ethernet1/0/1] loopback-detection per-vlan enable 

[h3c-Ethernet1/0/1] loopback-detection interval-time 60 


[h3c-Ethernet1/0/1] loopback-detection shutdown enable  


本教程由“网域NETLAND”提供。


高级模式
星空(中国)精选大家都在看24小时热帖7天热帖大家都在问最新回答

针对ZOL星空(中国)您有任何使用问题和建议 您可以 联系星空(中国)管理员查看帮助  或  给我提意见

快捷回复 APP下载 返回列表