453
•
Perform a manual PW switchover.
Configuring static PW redundancy
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
[
hub-spoke
]
N/A
3.
Specify static signaling for
PWs, and enter VSI static
view.
pwsignaling
static
By default, no PW signaling
protocol is specified for the VSI.
4.
(Optional.) Specify the
switchover mode and set the
wait time for the switchover.
revertive
{
wtr
wtr-time
|
never
}
By default, the switchover mode is
revertive and the switchover wait
time is 0 seconds.
5.
Configure a static PW and
enter VSI static PW view.
peer
ip-address
[
pw-id
pw-id
]
[
in-label
label-value
out-label
label-value
] [
hub
|
no-split-horizon
|
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no static PWs exist.
6.
Configure a backup static PW
and enter VSI static backup
PW view.
backup-peer
ip-address
[
pw-id
pw-id
]
in-label
label-value
out-label
label-value
[
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no backup static PW
exists.
If both the default PW ID in the
default-pw-id
command and a
PW ID in the
backup-peer
command are configured, the PW
ID in the
backup-peer
command
is used. If only the default PW ID is
configured, the default PW ID is
used. If no default PW ID is
configured, you must provide a
PW ID in the
backup-peer
command.
7.
Return to user view.
return
N/A
8.
Manually switch traffic of the
specified PW to its backup
PW.
l2vpn switchover peer
ip-address
pw-id
pw-id
N/A
Configuring LDP PW redundancy
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
[
hub-spoke
]
N/A
3.
Specify LDP signaling for
PWs, and enter VSI LDP
signaling view.
pwsignaling
ldp
By default, no PW signaling
protocol is specified for the VSI.
4.
(Optional.) Specify the
switchover mode and set the
wait time for the switchover.
revertive
{
wtr
wtr-time
|
never
}
By default, the switchover mode
is revertive and the switchover
wait time is 0 seconds.