R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
159
Traffic sent to the PW cannot carry the P-Tag assigned by the service provider. If traffic from the AC
has the P-Tag, the PE removes the P-Tag, adds the PW label and public tunnel encapsulation, and
forwards the traffic through the PW. If traffic from the AC does not have the P-Tag, the PE adds the
PW label and public tunnel encapsulation and forwards the traffic through the PW.
For traffic received from the PW, if the AC access mode (configured by ac interface) is VLAN, the
PE adds the P-Tag and forwards the traffic through the AC. If the AC access mode is Ethernet, the
PE directly forwards the traffic through the AC. The PE cannot modify or delete the P-Tag for the
traffic from the PW.
When the PW type is VLAN, the PE encapsulates packets forwarded between the AC and PW as follows:
Traffic sent to the PW must carry the P-Tag. If traffic from the AC has the P-Tag, the PE keeps the P-Tag
when the peer PE does not require the ingress to modify the P-Tag or changes the P-Tag to the
expected value (which can be zero) when the peer PE requires the ingress to modify the P-Tag. Then
the PE adds the PW label and public tunnel encapsulation, and forwards the traffic through the PW.
If traffic from the AC does not have the P-Tag, the PE adds a P-Tag of 0 when the peer PE does not
require the ingress to modify the P-Tag or adds the expected P-Tag (which can be zero) when the
peer PE requires the ingress to modify the P-Tag. Then the PE adds the PW label and public tunnel
encapsulation, and forwards the traffic through the PW.
For traffic received from the PW, if the AC access mode (configured by ac interface) is VLAN, the
PE modifies or keeps the P-Tag and forwards the traffic through the AC. If the AC access mode is
Ethernet, the PE removes the P-Tag and forwards the traffic through the AC.
This command takes effect only when the AC type is Ethernet.
Examples
# Configure the PW type as Ethernet.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] pw-type ethernet
Related commands
display l2vpn pw-class
revertive
Use revertive to specify whether to switch traffic from the backup PW to the primary PW when the
primary PW recovers, and the wait time for the switchover.
Use undo revertive wtr to restore the default wait time of 0.
Use undo revertive never to restore the default.
Syntax
revertive { wtr wtr-time | never }
undo revertive { wtr | never }
Default
When the primary PW recovers, traffic is immediately switched from the backup PW to the primary PW.
Views
Cross-connect view