386
Configuring LDP PW redundancy
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
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 whether to
switch traffic from the backup
PW to the primary PW when
the primary PW recovers, and
the wait time for the
switchover.
revertive
{
wtr
wtr-time
|
never
}
By default, when the primary PW
recovers, traffic is immediately
switched back from the backup
PW to the primary PW.
5.
Configure an LDP PW and
enter VSI LDP PW view.
peer
ip-address
[
pw-id
pw-id
]
[
no-split-horizon
|
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no LDP PW is
configured.
6.
Configure a backup LDP PW
and enter VSI LDP backup PW
view.
backup-peer
ip-address
[
pw-id
pw-id
] [
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no backup LDP PW is
configured.
If both a 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 a
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-addres
s
pw-id
pw-id
N/A
Configuring MAC address learning
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
N/A
3.
Enable MAC address
learning for the VSI.
mac-learning enable
By default, MAC address learning is
enabled for a VSI.