l Static PWs switching: Both PWs used to switch are static.
l Dynamic PWs switching: Both PWs used to switch are dynamic.
l Mixed PWs switching: One of the PWs is dynamic, and the other is static.
Procedure
l Static PW Switching
Do as follows on the S-PEs.
1. Run:
system-view
The system view is displayed.
2. Run:
mpls switch-l2vc ip-address vc-id trans trans-label recv received-label
between ip-address vc-id trans trans-label recv received-label
encapsulation encapsulation-type [ control-word [ cc { alert | cw } * cv
lsp-ping ] | [ no-control-word ] [ cc alert cv lsp-ping ] ]
The static PWs switching is enabled.
A PW label must be manually configured on the S-PE for static PW switching.
The conditions of setting up a static MH-PW are as follows:
– On U-PE, once the AC state is up and PSN tunnel exists, the PW state is up.
– On the S-PE, once the PSN tunnels on both sides exist, the PW is in up state. This
is regardless of whether the PW encapsulation of S-PE is consistent with that of
U-PE or not.
For the sake of management convenience, it is recommended to configure the same
PW encapsulation type on the devices along the PW (U-PE and S-PE).
l Dynamic PW Switching
Do as follows on the S-PEs.
1. Run:
system-view
The system view is displayed.
2. Run:
mpls switch-l2vc ip-address vc-id between ip-address vc-id encapsulation
encapsulation-type [ control-word-transparent ]
The dynamic PWs switching is configured.
When configuring dynamic PW switching, ensure that the PW encapsulation type is
consistent on the devices (U-PE and S-PE) along the PW; otherwise, the PW will not
enter the Up state.
l Mixed PW Switching
NOTE
While configuring mixed PWs switching, note that the parameters "ip-address" and "vc-id" before
"between" in the command are that of dynamic PW, while the ones after "between" are that of static
PW. Both these cannot be interchanged.
Do as follows on the S-PEs.
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.
562