6.3.3 Setting the Attributes for a PW Template
A PW template has the attributes such as the IP address of the peer, control word, tunnel policy
name, and MTU.
Context
Do as follows on the PEs on the two ends of a PW:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
pw-template pw-template-name
The template view is displayed.
Step 3 Run:
peer-address ip-address
The address of the remote device on the PW is specified.
Step 4 Run:
control-word
The control word is enabled.
By default, the control word is disabled, and VCCV is enabled. VCCV can be performed in two
modes: the control word mode and Label Alert mode.
l If the control word is disabled, the S7700 supports VCCV in Label Alert mode.
l If the control word is enabled, the S7700 supports VCCV in both control word mode and
Label Alert mode.
To enable VCCV in control word mode, the control word needs to be enabled only on U-PEs
on a dynamic SH PW, a dynamic MH PW, or a static SH PW; the control word needs to be
enabled on U-PEs and S-PEs on a static MP PW or a mixed dynamic MP PW.
Step 5 Run:
tnl-policy policy-name
A tunnel policy is configured for the PW.
Step 6 Run:
mtu mtu-value
The MTU in the PW template is configured.
----End
Follow-up Procedure
Steps 3 to 6 are optional and actions are not taken in turn. Select the required steps in the actual
configuration.
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.
553