R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
231
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
Default command level
2: System level
Usage guidelines
This command is supported only on routers with SAP-4EXPs.
This command applies only to VCs created by using the xconnect static-peer command in service
instance view.
You can use this command to manage traffic on the network.
After you execute this command, if the VC has an available primary or backup VC, the device switches
traffic from the VC to the primary or backup VC. Otherwise, the device does not switch traffic.










