5.3.1 Establishing the Configuration Task
Applicable Environment
You can set the attributes for a PW through commands or a PW template. The attributes include
the peer, CW, and tunnel policy. Using a PW template can simplify the configurations of PWs
with similar attributes. The PW template is configured on U-PEs.
NOTE
Some PW attributes such as the MTU, PW type, and encapsulation type are obtained from the interface
connecting the U-PE to the CE directly.
Pre-configuration Tasks
Before configuring the attributes for a PW template, complete the following tasks:
l Configuring basic MPLS functions
Data Preparation
To configure the attributes for a PW template, you need the following data.
No.
Data
1 IP address of the remote end of the PW
2 Name of the tunnel policy
3 Name and attributes of the PW template, such as CW and VCCV
5.3.2 Creating a PW Template
Context
Do as follows on the PEs at both ends of a PW.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
mpls l2vpn
MPLS L2VPN is enabled.
Step 3 Run:
quit
Return to the system view.
5 PWE3 Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
5-12 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)