R3303-HP HSR6800 Routers MPLS Command Reference
231
tunneling policy will be used. The default tunneling policy selects only one tunnel in this order: LSP tunnel,
GRE tunnel, CR-LSP tunnel. For information about configuring a tunneling policy, see MPLS Configuration
Guide.
revertive: Enables support for switchback. With this keyword specified, when the primary VC recovers,
traffic is switched from the backup VC back to the primary VC automatically. If you do not specify this
keyword, traffic will not be switched back automatically.
wtr-time wtr-time: Specifies the switchback delay time. When the primary VC recovers, the device waits
for the switchback delay time before switching the traffic from the backup VC back to the primary VC. The
value range for the wtr-time argument is 1 to 720 minutes, and the default is 30 minutes.
Usage guidelines
This command is supported only on routers with SAP-4EXPs.
After you enter the static-xpeer view, you can configure VC labels for the primary and backup VCs.
The access mode refers to how a PE treats the outer VLAN tag carried in packets received from a CE, and
how the PE sends packets to the CE. Two access modes are available:
• VLAN mode—The Ethernet packets sent from a CE to a PE carry a VLAN tag. The PE treats the
VLAN tag as a P-Tag, which is a service delimiter that the service provider adds to the packets to
identify the user. The PE also adds a P-tag into the packets to be sent to the CE.
• Ethernet mode—If the Ethernet packets sent from a CE to a PE contain a VLAN tag, the PE treats the
VLAN tag as a U-Tag, which is the VLAN tag of the user network. U-tags mean nothing to the PE.
When the PE sends packets to the CE, it does not add a P-tag into the packets.
This command is available for service instances with an ID in the range of 1 to 4094.
Examples
# Create a primary static VC for service instance 100, and specify the peer PE address as 5.5.5.5, PW
ID as 100, and enter static-xpeer view.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] service-instance 100
[Sysname-Ten-GigabitEthernet1/0/2-srv100] encapsulation s-vid 100
[Sysname-Ten-GigabitEthernet1/0/2-srv100] xconnect static-peer 5.5.5.5 pw-id 100
[Sysname-Ten-GigabitEthernet1/0/2-srv100-static-xpeer]
Related commands
• pw-class
• service-instance
xconnect static-peer switchover
Use xconnect static-peer switchover to switch traffic from the active VC to the standby VC.
Syntax
xconnect static-peer switchover
Views
Service instance view










