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 you have configured a default PW ID for the VSI with the default-pw-id command, you can use the default PW ID without providing a PW ID in the backup-peer command. 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 |