R3303-HP HSR6800 Routers MPLS Command Reference

230
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.
Example
# Assume that a primary VC and a backup VC are established for service instance 10. Switch traffic from
the currently active VC to the standby VC.
<Sysname> system-view
[Sysname] interface ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] service-instance 10
[Sysname-Ten-GigabitEthernet1/0/1-srv10] xconnect peer switchover
xconnect static-peer
Use xconnect static-peer to create primary and backup static VCs for a service instance, and enter
static-xpeer view.
Use undo xconnect static-peer to delete the static VCs for a service instance.
Syntax
xconnect static-peer peer-ip-address pw-id pw-id [ access-mode { ethernet | vlan } | mtu mtu-value |
[ pw-class class-name ] [ backup-peer ip-address backup-pw-id pw-id [ backup-pw-class class-name |
revertive [ wtr-time wtr-time ] ] * ] ] *
undo xconnect static-peer
Views
Service instance view
Default command level
2: System level
Parameters
peer-ip-address: Specifies the IP address of the remote peer.
pw-id pw-id: Specifies the PW ID of the static VC, in the range of 1 to 4294967295.
access-mode: Specifies the access mode as Ethernet or VLAN. The default access mode is VLAN.
ethernet: Specifies the access mode as Ethernet.
vlan: Specifies the access mode as VLAN.
mtu mtu-value: Specifies the MTU in the range of 46 to 65535. The default is 1500.
pw-class class-name: Specifies a PW class by its name, a case-insensitive string of 1 to 19 characters. If
you do not specify a PW class, or you specify a PW class but the PW class does not specify a tunneling
policy or the specified tunneling policy is not configured, the default 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 how to configure a tunneling policy, see MPLS Configuration Guide.
backup-peer ip-address: Specifies the IP address of the peer PE of the backup VC.
backup-pw-id pw-id: Specifies the PW ID of the backup VC, in the range of 1 to 4294967295.
backup-pw-class class-name: Specifies the PW class for the backup VC. class-name is a case-insensitive
string of 1 to 19 characters. If you do not specify a template class, or you specify a PW class but the PW
class does not specify a tunneling policy or the specified tunneling policy is not configured, the default