l
Applying a tunnel policy to VPLS in Kompella mode
Do as follows on the PEs at both ends of a PW:
1.
Run:
system-view
The system view is displayed.
2.
Run:
vsi
vsi-name
[
auto
|
static
]
A VSI is created.
3.
Run:
pwsignal
bgp
BGP is configured as the PW signaling protocol and the VSI BGP view is displayed.
4.
Run:
route-distinguisher
route-distinguisher
The RD is configured for the VSI.
5.
Run:
tnl-policy
policy-name
A tunnel policy is applied to the VSI.
l
Applying a tunnel policy to PWE3
Do as follows on PEsconfigured 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 device is displayed.
3.
Choose one of the following options to apply tunnel policy to PW.
–
For dynamic PW, run:
mpls l2vc
{
pw-template
pw-template-name
|
ip-
address
} *
vc-id
tunnel-policy
policy-name
–
For static PW, run:
mpls static-l2vc
{ {
destination
ip-address
|
pw-template
pw-template-name
vc-id
}
*
|
destination
ip-address
[
vc-id
] }
transmit-vpn-
label
transmit-label-value
receive-vpn-label
receive-label-value
[
tunnel-
policy
tnl-policy-name
| [
control-word
|
no-control-word
] | [
raw
|
tagged
] ]
*
----End
1.5.4 Checking the Configuration
After a select-sequence tunnel policy is configured for an L2VPN, you can view configurations
of the tunnel policy, tunnels that are used by VCs, and information about these tunnels.
Context
The configurations of the tunnel policies (Select-sequence Mode) applied to L2VPN function
are complete.
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.
17