1. Run:
system-view
The system view is displayed.
2. Run:
mpls switch-l2vc ip-address vc-id between ip-address vc-id trans trans-
label recv received-label encapsulation encapsulation-type [ mtu mtu-
value ] [ control-word [ cc { alert | cw } * cv lsp-ping ] | [ no-control-
word ] [ cc alert cv lsp-ping ] ]
The mixed PWs switching is enabled
When configuring the mixed PWs switching, ensure that the following MTUs are the
same:
– Local MTU of the dynamic PW
– Peer MTU of the dynamic PW
– Local MTU of the static PW
– Peer MTU of the static PW
NOTE
l When configuring mixed PW switching, the MTUs of the interfaces on the two ends must
be the same and cannot be longer than 1500 bytes.
----End
6.6.3 Checking the Configuration
After a switching PW is configured, you can view information about the switching PW.
Prerequisite
The configurations of the PW Switching function are complete.
Procedure
l Run the display mpls switch-l2vc [ ip-address vc-id encapsulation encapsulation-type |
state { down | up } ] command to check information about the PW switching on S-PEs.
----End
Example
Run the display mpls switch-l2vc [ ip-address vc-id encapsulation encapsulation-type | state
{ down | up } ] command. You can view the VC status is Up. For example:
<Quidway> display mpls switch-l2vc
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : LDP<---->LDP
Peer IP Address : 5.5.5.9, 1.1.1.9
VC ID : 200, 100
VC Type : VLAN
VC State : up
VC StatusCode |PSN |OAM | FW | |PSN |OAM | FW |
-Local VC :| UP | UP | UP | | UP | UP | UP |
-Remote VC:| UP | UP | UP | | UP | UP | UP |
Session State : up, up
Local/Remote Label : 23553/23552, 23552/23552
Local/Remote MTU : 1500/1500, 1500/1500
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 6 PWE3 Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
563