R0106-HP MSR Router Series MPLS Command Reference(V7)

292
{ 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.
Examples
# Configure the PW type as Ethernet.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] pw-type ethernet
Related commands
ac-interface
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
Predefined user roles
network-admin
Parameters
wtr wtr-time: Specifies the wait time in the range of 0 to 180 seconds. When the primary PW recovers,
the PE waits for the specified time before switching traffic from the backup PW to the primary PW.
never: Disables backup to primary switchover.