3. Run:
mpls static-l2vc destination dest-router-id transmit-vpn-label transmit-
label-value receive-vpn-label receive-label-value tunnel-policy policy-
name
A tunnel policy is applied to an SVC L2VPN VC.
l VLL in Martini mode
Do as follows on the PEs configured with VCs.
1. Run:
system-view
The system view is displayed.
2. Run:
interface vlanif vlan-id
The AC interface view is displayed.
3. Run:
mpls l2vc destination-address vc-id tunnel-policy policy-name
The tunnel policy is applied to the VC of the Martini L2VPN.
l MPLS L2VPN in Kompella Mode
Do as follows on the PEs connected to CEs.
1. Run:
system-view
The system view is displayed.
2. Run:
mpls l2vpn l2vpn-name
The MPLS L2VPN view is displayed.
3. Run:
ce ce-name
The MPLS L2VPN CE view is displayed.
4. Run:
connection [ ce-offset id ] interface vlanif vlan-id tunnel-policy policy-
name
The tunnel policy is applied to the Kompella L2VPN VC.
NOTE
When configuring Kompella L2VPN on the PE, run the ce ce-name id ce-id [ range range-
value ] [ default-offset offset-value ] command to create a connection to the CE. For details,
see Creating a CE Connection.
l PWE3
Do as follows on the PEs configured with VCs.
1. Run:
system-view
The system view is displayed.
2. Run:
interface vlanif vlan-id
1 VPN Tunnel Management
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
1-14 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)