l2vpn switchover
To force a manual pseudowire switchover, use the l2vpn switchover command in EXEC mode.
l2vpn switchover xconnect neighbor IP-address pw-id value
Syntax Description
Configures the switchover for the cross-connect.xconnect
Configures the peer for the cross-connect.
neighbor IP-address
Configures the pseudowire ID. The range is from 1 to 4294967295.
pw-id value
Command Default
None
Command Modes
EXEC
Command History
ModificationRelease
This command was introduced.Release 4.1.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
If the backup exists, you can switch a primary router over to the backup router. You can use the l2vpn
switchover command to reactivate the primary router.
Task ID
OperationsTask ID
read, write, executel2vpn
Examples
The following example shows how to switch a primary pseudowire to a backup pseudowire:
RP/0/0/CPU0:router# l2vpn switchover xconnect neighbor 10.1.1.1 pw-id 2
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
OL-28460-01 51
Virtual Private Network Commands
l2vpn switchover