Parameter | Description | Value |
---|---|---|
peer-address peer-address | Specifies the IPv4 address of the target PE. | The value is in dotted decimal notation. |
pw-id | Specifies the ID of a VC connected to L2VPN. | The value is an integer that ranges from 1 to 4294967295. |
pw-type | Specifies the encapsulation type of a PW. | Currently, PWs of the following types are supported: ethernet, vlan, and ip-interworking. |
pw-template | Re-creates all PWs in the PW template. | - |
pw-template-name | Specifies the PW template name. | The value is an existing PW template name. |
After changing the parameters in a PW template, you need to run the reset pw pw-template command to make the modification take effect. The configuration on the PW template applies to all PWs using this PW template. You can configure the attributes of a PW by using a PW template or commands. The attributes configured by using commands take precedence over those configured by using the template. If you configure PW attributes by using commands, the corresponding attributes in the PW template do not take effect. Therefore, if you run the reset pw pw-template and reset pw pw-id commands, the PW attributes remain unchanged. To change a PW attribute, configure the attribute in the PW template but do not configure attribute by using a command.