當前位置:學者齋 >

IT認證 >H3C認證 >

H3C環路測試教程

H3C環路測試教程

H3C的S9500系列高端交換機獲得了107 項 Tolly 認證,是 Tolly Group 為一類交換機頒發認證最多的一次。下面YJBYS小編為大家整理了關於H3C環路測試教程,希望對你有所幫助。

H3C環路測試教程

交換機以太網端口迴環測試功能包括內部環回測試和外部環回測試:

內部環回測試:在交換機芯片端口自檢進行測試,用以定位端口相關功能是否出現故障。

外部迴環測試:以太網端口上接了一個自環頭,從端口發出的.報文通過自環頭又回到了該端口,

開啟內環監測命令

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

標籤: H3C 環路 測試
  • 文章版權屬於文章作者所有,轉載請註明 https://xuezhezhai.com/zh-mo/itrz/h3c/4d0pe1.html