2.
Run:
interface
interface-type
interface-number
The view of the interface connected with the CE is displayed.
3.
Run:
mpls l2vc
ip-address
vc-id
tunnel-policy
policy-name
A tunnel policy is applied to the VC of the VLL in Martini mode.
l
Applying a tunnel policy to VLL in Kompella mode
Do as follows on PEs configured with VCs:
1.
Run:
system-view
The system view is displayed.
2.
Run:
mpls l2vpn
vpn-name
The MPLS L2VPN instance view is displayed.
3.
Run:
ce
ce-name
The MPLS L2VPN CE view is displayed.
4.
Run:
connection
[
ce-offset
id
]
interface
interface-type
interface-number
tunnel-policy
policy-name
A tunnel policy is applied to the VC of the VLL in Kompella mode.
NOTE
Before configuring Kompella VLL on a PE, create a connection with a CE by running the
ce
ce-name
id
ce-id
[
range
ce-range
] [
default-offset
ce-offset
] command.
l
Applying a tunnel policy to VPLS in Martini 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
ldp
LDP is configured as the PW signaling protocol and the VSI-LDP view is displayed.
4.
Run:
vsi-id
vsi-id
The VSI ID is set.
5.
Run:
peer
peer-address
[
negotiation-vc-id
vc-id
] [
tnl-policy
policy-name
]
The VSI peer relationship is configured and a tunnel policy is applied to the peer.
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.
16