• 產品與解決方案
  • 行業解決方案
  • 服務
  • 支持
  • 合作夥伴
  • 關於我們

08-MPLS配置指導

目錄

11-MPLS OAM配置

本章節下載 11-MPLS OAM配置  (153.80 KB)

11-MPLS OAM配置


1 MPLS OAM

1.1  MPLS OAM簡介

MPLS OAM(Operation, Administration, and Maintenance,操作、管理和維護)功能為MPLS網絡提供了數據平麵連通性檢測、數據平麵與控製平麵一致性校驗、故障點定位等多種錯誤管理(Fault Management)工具。MPLS OAM利用這些錯誤管理工具對MPLS隧道進行檢測和故障定位,降低了MPLS網絡的管理和維護的複雜度,提高了MPLS網絡的可用性。

1.1.1  錯誤管理工具

MPLS OAM提供手工按需檢測工具(on-demand工具),根據需要手工觸發的檢測工具,如MPLS ping、MPLS Trace route。

1.1.2  MPLS Ping

MPLS Ping功能用來手工檢測隧道的連通性。

MPLS Ping功能的工作機製是:在Ingress節點為MPLS Echo Request報文壓入待檢測隧道對應的標簽;經過隧道將該報文轉發到Egress節點;Egress節點處理該報文後,回應MPLS Echo Reply報文;如果Ingress節點接收到表示成功的MPLS Echo Reply報文,則說明該隧道可以用於數據轉發;如果Ingress節點接收到帶有錯誤碼的MPLS Echo Reply報文,則說明該隧道存在故障。

1.1.3  MPLS Trace route

MPLS Trace route功能用來查看隧道從Ingress節點到Egress節點所經過的路徑,以便對隧道的錯誤點進行定位。

MPLS Trace route功能通過沿著隧道連續發送TTL從1到某個值的MPLS Echo Request報文,讓隧道經過的每一跳收到該報文後,返回MPLS Echo Reply報文。這樣,Ingress節點可以收集到隧道上每一跳的信息,從而定位出故障節點。同時,MPLS Trace route功能還可用於收集整條隧道上每個節點的重要信息,如下遊分配的標簽等。

1.1.4  協議規範

與MPLS OAM相關的協議規範有:

·     RFC 4379:Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures

·     RFC 5085:Pseudowire Virtual Circuit Connectivity Verification (VCCV): A Control Channel for Pseudowires

1.2  配置LSP隧道的連通性檢測

1.2.1  進行MPLS Ping操作

1. 檢測IPv4地址前綴類型LSP的連通性

可在任意視圖下執行本命令,通過MPLS Ping功能檢測IPv4地址前綴類型LSP的連通性。

ping mpls [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s packet-size | -t time-out | -v ] * ipv4 ipv4-address mask-length [ destination start-address [ end-address [ address-increment ] ] ] [ fec-type { generic | ldp } ]

2. 檢測指定出標簽的MPLS LSP的連通性

可在任意視圖下執行本命令,通過MPLS Ping功能檢測指定出標簽的MPLS LSP的連通性。

ping mpls [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s packet-size | -t time-out | -v ] * out-labels out-label-value&<1-8> interface interface-type interface-number [ nexthop nexthop-address ]

1.2.2  進行MPLS Trace route操作

1. 查看IPv4地址前綴類型LSP從Ingress節點到Egress節點所經過的路徑

可在任意視圖下執行本命令,通過MPLS Trace route功能查看IPv4地址前綴類型LSP從Ingress節點到Egress節點所經過的路徑。

tracert mpls [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -rtos tos-value | -t time-out | -v | fec-check ] * ipv4 ipv4-address mask-length [ destination start-address [ end-address [ address-increment ] ] ] [ fec-type { generic | ldp } ]

2. 查看指定出標簽的MPLS LSP從Ingress節點到Egress節點所經過的路徑

可在任意視圖下執行本命令,通過MPLS Trace route功能查看指定出標簽的MPLS LSP從Ingress節點到Egress節點所經過的路徑。

tracert mpls [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -rtos tos-value | -t time-out | -v | fec-check ]* out-labels out-label-value&<1-8> interface interface-type interface-number [ nexthop nexthop-address ]

1.3  配置MPLS TE隧道的連通性檢測

1.3.1  進行MPLS Ping操作

可在任意視圖下執行本命令,通過MPLS Ping功能檢測MPLS TE隧道的連通性。

ping mpls [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s packet-size | -t time-out | -v ] * te tunnel interface-number

1.3.2  進行MPLS Trace route操作

可在任意視圖下執行本命令,通過MPLS Trace route功能查看MPLS TE隧道從Ingress節點到Egress節點所經過的路徑。

tracert mpls [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -rtos tos-value | -t time-out | -v | fec-check ] * te tunnel interface-number

1.4  配置PW的連通性檢測

1.4.1  PW連通性檢測方式簡介

VCCV(Virtual Circuit Connectivity Verification,虛電路連通性驗證)是一種L2VPN PW OAM功能,用於確認PW數據平麵的連通性。

用來檢測PW連通性的報文統稱為VCCV報文。PE通過CC(Control Channel,控製通道)來傳送VCCV報文。

本係列設備僅支持router-alert類型的控製通道,即通過在PW標簽之前攜帶MPLS路由器告警標簽來標識VCCV報文。

1.4.2  進行MPLS Ping操作

1. 配置準備

(1)     創建PW模板,並在PW模板視圖下通過vccv cc命令配置VCCV控製通道類型。

(2)     創建PW,並指定該PW引用上述步驟中創建的PW模板。

2. 配置步驟

可在任意視圖下執行本命令,通過MPLS Ping功能檢測PW的連通性。

ping mpls [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s packet-size | -t time-out | -v ] * pw ip-address pw-id pw-id [ remote remote-ip-address remote-pw-id ]

 

不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!

BOB登陆
官網
聯係我們