This section describes how to use the EVC model to carry VPWS services. This implementation can facilitate network planning and management, thereby cutting down enterprise costs.
The system view is displayed.
The EVC Layer 2 sub-interface view is displayed.
A VPWS connection is created.
The IDs of VCs using the same encapsulation type must be unique.
The raw, tagged, and access-port parameters can be specified in this command only when this command is applied to Ethernet links. The access-port parameter applies only to Ethernet main interfaces.
The default tunnel policy uses LDP LSPs for VPWS PWs. If you want to use other types of tunnels for a VPWS PW, configure the tunnel-policy policy-name parameter for a VPWS PW to reference the corresponding tunnel policy.
The EVC VPWS tagged mode is enabled.
In EVC scenarios, if the EVC model is configured to carry VPWS services, PWs work in raw mode (with the VPWS encapsulation type being VLAN). In this case, packets leaving PWs are directly forwarded without having the outer tag removed. To solve this problem, run the encapsulation vlan pass command to configure the PWs to work in tagged mode, so that the outer tag is removed when the packets leave the PWs.
The configuration is committed.