- 相關(guān)推薦
H3C環(huán)路測試教程
H3C的S9500系列高端交換機(jī)獲得了107 項(xiàng) Tolly 認(rèn)證,是 Tolly Group 為一類交換機(jī)頒發(fā)認(rèn)證最多的一次。下面YJBYS小編為大家整理了關(guān)于H3C環(huán)路測試教程,希望對(duì)你有所幫助。
交換機(jī)以太網(wǎng)端口回環(huán)測試功能包括內(nèi)部環(huán)回測試和外部環(huán)回測試:
內(nèi)部環(huán)回測試:在交換機(jī)芯片端口自檢進(jìn)行測試,用以定位端口相關(guān)功能是否出現(xiàn)故障。
外部回環(huán)測試:以太網(wǎng)端口上接了一個(gè)自環(huán)頭,從端口發(fā)出的報(bào)文通過自環(huán)頭又回到了該端口,
開啟內(nèi)環(huán)監(jiān)測命令:
sys
[h3c] interface ethernet1/0/1
[h3c-ethernet1/0/1] loopback internal
開啟外環(huán)監(jiān)測命令:
sys
[h3c] interface ethernet1/0/1
[h3c-ethernet1/0/1] loopback external
針對(duì)外部環(huán)路偵測并處理的配置:
sys
[h3c] loopback-detection enabal #全局開啟交換機(jī)外部環(huán)測試,如果要單獨(dú)開啟某個(gè)端口,先進(jìn)入該端口執(zhí)行命令,端口列表在 enable前面加數(shù)字。
[h3c] loopback-detection interval-time 60 #設(shè)置環(huán)回監(jiān)測時(shí)間 為 60 s,默認(rèn)為30s
例子:端口1開啟外部環(huán)監(jiān)測,出現(xiàn)故障并自動(dòng)關(guān)閉該端口
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
以上端口是默認(rèn)的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進(jìn)行的環(huán)監(jiān)測并處理
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
【H3C環(huán)路測試教程】相關(guān)文章:
h3c交換機(jī)配置telnet實(shí)例教程07-04
H3C無線AP本地轉(zhuǎn)發(fā)配置教程201609-17
H3C網(wǎng)絡(luò)工程師認(rèn)證考試測試題11-02
cisco交換機(jī)出現(xiàn)環(huán)路的處理方法06-19
H3C認(rèn)證介紹08-07
CAD教程09-20