is not selected in most cases, exceptthat load balancing is performed or the preceding tunnels
are in the Down state.
For example, if the
tunnel select-seq
cr-lsp
lsp
load-balance-number
1
command is
configured, a VPN selects the LSP tunnel if no CR-LSP exists. After an CR-LSP is set up, the
VPN selects the CR-LSP and does not use the LSP tunnel anymore.
1.5.3 Applying the Tunnel Policy to L2VPN
This part describes how to apply a tunnel policy for the VLL, VPLS and PWE3.
Context
Select one of the following configurations according to the L2VPN type.
l
Applying a tunnel policy to VLL in SVC mode
l
Applying a tunnel policy to VLL in Martini mode
l
Applying a tunnel policy to VLL in Kompella mode
l
Applying a tunnel policy to VPLS in Martini mode
l
Applying a tunnel policy to VPLS in Kompella mode
l
Applying a tunnel policy to PWE3
When using XGE, GE, Ethernet, or Eth-Trunk interfaces as AC interfaces, you need to configure
the
undo portswitch
command in the interface view before configuring the L2VPN.
When using XGE, GE, Ethernet, or Eth-Trunk sub-interfaces as AC interfaces, you need to
configure the sub-interface type before configuring the L2VPN. For details on how to configure
sub-interfaces, see Connecting Sub-interfaces to a VLL Network.
Procedure
l
Applying a tunnel policy to VLL in SVC mode
Do as follows on PEs configured with VCs:
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The view of the interface connected with the CE is displayed.
3.
Run:
mpls static-l2vc destination
ip-address
transmit-vpn-label
transmit-label-
value
receive-vpn-label
receive-label-value
tunnel-policy
tnl-policy-name
A tunnel policy is applied to the VC of the VLL in SVC mode.
l
Applying a tunnel policy to VLL in Martini mode
Do as follows on PEs configured with VCs:
1.
Run:
system-view
The system view is displayed.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
15