44-以太網OAM典型配置舉例
本章節下載: 44-以太網OAM典型配置舉例 (188.78 KB)
H3C S6800&S6860&S6861產品以太網OAM典型配置舉例
Copyright © 2019 bobty下载软件 版權所有,保留一切權利。
非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部,並不得以任何形式傳播。
除bobty下载软件 的商標外,本手冊中出現的其它公司的商標、產品標識及商品名稱,由各自權利人擁有。
本文檔中的信息可能變動,恕不另行通知。
目 錄
本文檔介紹了使用以太網OAM監控鏈路性能的典型配置舉例。
以太網OAM是一種監控網絡故障的工具,可以監控兩台直連設備之間的鏈路狀態。
本文檔中的配置均是在實驗室環境下進行的配置和驗證,配置前設備的所有參數均采用出廠時的缺省配置。如果您已經對設備進行了配置,為了保證配置效果,請確認現有配置和以下舉例中的配置不衝突。
本文檔假設您已了解以太網OAM特性。
如圖1所示,企業網絡和運營商網絡通過各自邊緣設備Device A和Device B進行相連。使用以太網OAM功能,監控Device A和Device B間鏈路的狀態,從而可確定運營商所提供的網絡鏈路可靠性是否符合與企業用戶簽訂的SLA(Service Level Agreement),具體需求:
· 實現自動檢測Device A和Device B之間鏈路的連通性;
· 網絡管理員可以查看是否Device A和Device B之間鏈路是否發生緊急鏈路事件;
· 網絡管理員可以通過觀察一般鏈路事件統計信息動態地了解鏈路狀態。
圖1 以太網OAM組網示意圖
為了在Device A和Device B之間鏈路上成功建立以太網OAM連接,至少需要保證鏈路兩端至少有一個接口的以太網OAM的連接模式為Active模式。由於本設備的所有接口的以太網OAM的連接模式缺省情況為Active模式,所以可以省去此配置。本案例以在Device A的XGE1/0/1上配置以太網OAM的連接模式為Active模式,在Device B的XGE1/0/1上配置以太網OAM的連接模式為Passive模式為例。
以太網OAM功能可以監控的一般鏈路事件包括錯誤信號事件、錯誤幀事件、錯誤幀周期事件及錯誤幀秒事件。缺省情況下,開啟了以太網OAM功能的接口的一般鏈路事件檢測參數均采用全局配置,您可以根據實際網絡情況對其中某些事件的檢測參數進行修改,以滿足您對這些事件的檢測精度。本案例以對錯誤幀事件的檢測參數進行修改為例。
表1 適用產品及版本
產品 |
軟件版本 |
S6800係列 S6860係列 S6861係列 |
Release 2702 |
不允許在已使能以太網OAM功能的接口上更改以太網OAM的連接模式。如需更改,請先關閉該接口上的以太網OAM功能。
# 配置接口Ten-GigabitEthernet1/0/1的以太網OAM的連接模式為Active模式(缺省情況下,所有接口的以太網OAM的連接模式都為Active模式),並開啟以太網OAM功能。
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] oam mode active
[DeviceA-Ten-GigabitEthernet1/0/1] oam enable
# 在接口Ten-GigabitEthernet1/0/1上配置錯誤幀事件的檢測窗口為20000毫秒,檢測閾值為10次。
[DeviceA-Ten-GigabitEthernet1/0/1] oam errored-frame window 200
[DeviceA-Ten-GigabitEthernet1/0/1] oam errored-frame threshold 10
[DeviceA-Ten-GigabitEthernet1/0/1] quit
# 配置接口Ten-GigabitEthernet1/0/1的以太網OAM的連接模式為Passive模式,並開啟以太網OAM功能。
<DeviceB> system-view
[DeviceB] interface ten-gigabitethernet 1/0/1
[DeviceB-Ten-GigabitEthernet1/0/1] oam mode passive
[DeviceB-Ten-GigabitEthernet1/0/1] oam enable
[DeviceB-Ten-GigabitEthernet1/0/1] quit
# 顯示Device A上的全局以及未采用缺省配置的接口上的以太網OAM配置信息。
[DeviceA] display oam configuration
---------------- [Global] ----------------
OAM timers
Hello timer : 1000 milliseconds
Keepalive timer : 5000 milliseconds
Link monitoring
Errored symbol period
Window : 100 x 1000000 symbols
Threshold : 1 error symbols
Errored frame
Window : 10 x 100 milliseconds
Threshold : 1 error frames
Errored frame period
Window : 1000 x 10000 frames
Threshold : 1 error frames
Errored frame seconds
Window : 600 x 100 milliseconds
----------- [Ten-GigabitEthernet1/0/1] -----------
OAM timers
Hello timer : 1000 milliseconds
Keepalive timer : 5000 milliseconds
Link monitoring
Errored symbol period
Window : 100 x 1000000 symbols
Threshold : 1 error symbols
Errored frame
Window : 200 x 100 milliseconds
Threshold : 10 error frames
Errored frame period
Window : 1000 x 10000 frames
Threshold : 1 error frames
Errored frame seconds
Window : 600 x 100 milliseconds
Threshold : 1 error seconds
# 顯示Device A上以太網OAM的緊急鏈路事件統計信息。
[DeviceA] display oam critical-event
----------- [Ten-GigabitEthernet1/0/1] -----------
Local link status : UP
Event statistics
Link fault : Not occurred
Dying gasp : Not occurred
Critical event : Not occurred
以上信息表明:Device A與Device B之間的鏈路連通正常,尚未發生任何緊急鏈路事件。
# 通過Device A顯示本端的一般鏈路事件統計信息。
[DeviceA] display oam link-event local
----------- [Ten-GigabitEthernet1/0/1] -----------
Link status: UP
OAM local errored frame event
Event time stamp : 5789 x 100 milliseconds
Errored frame window : 200 x 100 milliseconds
Errored frame threshold : 10 error frames
Errored frame : 13 error frames
Error running total : 350 error frames
Event running total : 17 events
上麵的顯示信息表明從OAM連接建立後,Device A上總共發生了350次錯誤幀,其中錯誤幀事件有17次,鏈路的性能不穩定。
當鏈路檢測結果為鏈路性能不穩定,請谘詢H3C技術支援人員。
· Device A
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
oam errored-frame window 200
oam errored-frame threshold 10
oam enable
· Device B
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
oam mode passive
oam enable
· H3C S6800[60][61](R27xx) & S6820(R630x)係列以太網交換機 可靠性配置指導
· H3C S6800[60][61](R27xx) & S6820(R630x)係列以太網交換機 可靠性命令參考
不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!