故障處理步驟
說明:
請保存以下步驟的執行結果,以便在故障無法解決時快速收集和反饋信息。
操作步驟
- 檢查兩端的封裝類型及MTU是否一致
執行display mpls l2vc vc-id命令,檢查VC信息。
<HUAWEI> display mpls l2vc 102
total LDP VC : 1 1 up 0 down *client interface : GigabitEthernet8/0/0.5 session state : up AC status : up VC state : up VC ID : 102 VC type : VLAN destination : 2.2.2.2 local VC label : 146433 remote VC label : 146432 control word : disable forwarding entry : exist local group ID : 0 manual fault : not set active state : active link state : up local VC MTU : 1500 remote VC MTU : 1500 tunnel policy name : -- traffic behavior name: -- PW template name : -- primary or secondary : primary create time : 1 days, 1 hours, 14 minutes, 17 seconds up time : 0 days, 0 hours, 3 minutes, 16 seconds last change time : 0 days, 0 hours, 3 minutes, 16 seconds VC last up time : 2010/02/17 08:23:07 VC total up time : 0 days, 21 hours, 43 minutes, 43 seconds
如果兩端的封裝類型或者MTU不一致,那麼修改其中一端的封裝類型及MTU使兩端的封裝類型及MTU一致。
如果兩端的封裝類型及MTU已經一致,請執行步驟2。
說明:
兩端封裝類型、MTU一致是VC狀態Up的必要條件之一。
- 檢查兩端的VC ID是否一致
<HUAWEI> display mpls l2vc 102
total LDP VC : 1 1 up 0 down *client interface : GigabitEthernet8/0/0.5 session state : up AC status : up VC state : up VC ID : 102 VC type : VLAN destination : 2.2.2.2 local VC label : 146433 remote VC label : 146432 control word : disable forwarding entry : exist local group ID : 0 manual fault : not set active state : active link state : up local VC MTU : 1500 remote VC MTU : 1500 tunnel policy name : -- traffic behavior name: -- PW template name : -- primary or secondary : primary create time : 1 days, 1 hours, 14 minutes, 17 seconds up time : 0 days, 0 hours, 3 minutes, 16 seconds last change time : 0 days, 0 hours, 3 minutes, 16 seconds VC last up time : 2010/02/17 08:23:07 VC total up time : 0 days, 21 hours, 43 minutes, 43 seconds
如果兩端的VC ID不一致,那麼修改其中一端的VC ID使兩端的VC ID一致。
如果兩端的VC ID已經一致,請執行步驟3。
說明:
兩端VC ID一致是VC狀態Up的必要條件之一。
- 檢查兩端的CW配置是否一致
<HUAWEI> display mpls l2vc 102
total LDP VC : 1 1 up 0 down *client interface : GigabitEthernet8/0/0.5 session state : up AC status : up VC state : up VC ID : 102 VC type : VLAN destination : 2.2.2.2 local VC label : 146433 remote VC label : 146432 control word : disable forwarding entry : exist local group ID : 0 manual fault : not set active state : active link state : up local VC MTU : 1500 remote VC MTU : 1500 tunnel policy name : -- traffic behavior name: -- PW template name : -- primary or secondary : primary create time : 1 days, 1 hours, 14 minutes, 17 seconds up time : 0 days, 0 hours, 3 minutes, 16 seconds last change time : 0 days, 0 hours, 3 minutes, 16 seconds VC last up time : 2010/02/17 08:23:07 VC total up time : 0 days, 21 hours, 43 minutes, 43 seconds
如果兩端的CW配置不一致,那麼修改其中一端的CW配置使兩端的VC ID一致。
如果兩端的CW配置已經一致,請執行步驟4。
說明:
兩端CW配置一致是VC狀態Up的必要條件之一。
- 檢查兩端的LDP會話狀態是否UP
<HUAWEI> display mpls l2vc 102
total LDP VC : 1 1 up 0 down *client interface : GigabitEthernet8/0/0.5 session state : up AC status : up VC state : up VC ID : 102 VC type : VLAN destination : 2.2.2.2 local VC label : 146433 remote VC label : 146432 control word : disable forwarding entry : exist local group ID : 0 manual fault : not set active state : active link state : up local VC MTU : 1500 remote VC MTU : 1500 tunnel policy name : -- traffic behavior name: -- PW template name : -- primary or secondary : primary create time : 1 days, 1 hours, 14 minutes, 17 seconds up time : 0 days, 0 hours, 3 minutes, 16 seconds last change time : 0 days, 0 hours, 3 minutes, 16 seconds VC last up time : 2010/02/17 08:23:07 VC total up time : 0 days, 21 hours, 43 minutes, 43 seconds
如果兩端的LDP會話沒有UP,請參見“LDP會話DOWN”一節繼續定位,使LDP會話狀態爲Up。
如果LDP會話已經UP,請執行步驟5。
說明:
只有LDP會話UP,兩端的VC才能開始協商。
- 檢查PW是否選中隧道
執行display mpls l2vc vc-id命令:
- 檢查VC tunnel/token info字段值。如果VC tunnel/token info字段值爲0 tunnels/tokens,表明PW沒有選中隧道。
- 檢查tunnel policy name字段的值:
- 如果該字段值爲“--”,表示PW使用的隧道爲LDP LSP,或者沒有配置隧道策略。如果PW使用MPLS-TE隧道需要配置隧道策略。
-
如果該字段值不是“--”,表示VLL使用隧道策略,可以在隧道策略視圖下執行display this檢查隧道策略的配置。
[HUAWEI-tunnel-policy-p1] display this # tunnel-policy p1 tunnel select-seq cr-lsp load-balance-number 1 #
說明:
如果隧道策略下配置了tunnel binding destination dest-ip-address te { tunnel interface-number },還需要在Tunnel接口下使能mpls te reserved-for-binding命令。
如果兩端的隧道沒有Up,請參考“LSP隧道down”一節或者“Te Tunnel狀態爲down”一節繼續定位,使隧道狀態Up。如果兩端的隧道狀態已經UP並且TE接口配置正確,請執行步驟6。
說明:
隧道Up是VC狀態up的必要條件之一。
- 檢查兩端的AC接口狀態是否Up
在兩端PE上分別執行display mpls l2vc vc-id命令,檢查AC status字段值是否爲Up。
- 如果兩端的AC接口狀態沒有Up,請參考“物理對接&接口類”一節繼續定位,使AC接口狀態Up。
- 如果兩端AC接口狀態已經Up,請執行步驟7。
說明:
兩端AC接口狀態Up是VC狀態Up的必要條件之一。
- 請收集如下信息,並聯系華爲技術支持工程師。
- 上述步驟的執行結果。
- 設備的配置文件、日誌信息、告警信息。
父主題: PW不能UP的定位思路
華爲專有和保密信息
版權所有 ? 華爲技術有限公司