NOTE
Some PW attributes such as MTU, PW type, and encapsulation type are obtained from the interface directly
connected to a CE. Therefore, those parameters do not need to be configured manually.
Pre-configuration Tasks
Before configuring the attributes of a PW template, you need to complete the following tasks:
l Configuring basic MPLS functions
l Enabling MPLS L2VPN
Data Preparation
To configure the attributes of a PW template, you need the following data.
No. Data
1 (Optional) Peer IP address
2 (Optional) Name of the tunnel policy
3 (Optional) Name and attributes of the PW template
6.3.2 Creating a PW Template
When configuring PWE3, you can directly specify the IP address of the peer or import a PW
template to set PW attributes.
Context
Do as follows on the PEs on the two ends of the 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.
Step 4 Run:
pw-template pw-template-name
A PW template is created.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 6 PWE3 Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
552