The mpls te backup command specifies the backup mode of an existing tunnel.
The undo mpls te backup command restores the default configuration.
By default, no tunnel is backed up.
mpls te backup ordinary [ best-effort ]
mpls te backup hot-standby [ mode { revertive [ wtr interval ] | non-revertive } | dynamic-bandwidth ] *
mpls te backup hot-standby wtr interval [ dynamic-bandwidth ]
mpls te backup hot-standby dynamic-bandwidth wtr interval
undo mpls te backup { hot-standby [ mode { revertive [ wtr [ interval ] ] | non-revertive } | dynamic-bandwidth ] * | ordinary }
Parameter | Description | Value |
---|---|---|
ordinary | Enables the ordinary backup mode. In ordinary backup mode, an ordinary backup CR-LSP is created only after the primary CR-LSP fails. | - |
hot-standby | Enables the hot-standby mode. In hot-standby mode, both the primary and backup CR-LSP are set up. If the primary CR-LSP fails, traffic is immediately switched to the hot-standby CR-LSP. | - |
dynamic-bandwidth | Enables the dynamic bandwidth function for a hot-standby CR-LSP. | - |
wtr interval | Specifies the wait-to-restore (WTR) time in hot standby. | The value is an integer that ranges from 0 to 2592000, in seconds. The default value is 10 seconds. |
best-effort | Enables the best-effort path mode. When both the primary and backup CR-LSPs fail, the system triggers the establishment of a best-effort path. | - |
mode { revertive | non-revertive } | Specifies the revertive mode.
|
The default mode is revertive. |
Usage Scenario
To help enhance the reliability of a CR-LSP, you are recommended to set up a backup CR-LSP to protect traffic on the primary CR-LSP.
You can select the following CR-LSP backup modes as required:
Prerequisites
A tunnel ID has been configured by running the mpls te tunnel-id command.
Precautions
After tunnel backup is enabled, the route storing function is automatically enabled, regardless of whether the mpls te record-route command is run.
Tunnel backup and the function configured by running the mpls te resv-style ff command are mutually exclusive.
The mpls te backup ordinary command and the mpls te backup ordinary best-effort command cannot be configured together; otherwise, the previous configuration overrides the later one.
After initiating the dynamic bandwidth function for a hot-standby CR-LSP, the hot-standby CR-LSP does not occupy any bandwidth when bearing no traffic. If the primary CR-LSP fails, the system re-establishes a hot-standby CR-LSP with the expected bandwidth according to the Make-Before-Break mechanism. The new hot-standby CR-LSP now transmits traffic. The system then deletes the hot-standby CR-LSP with the bandwidth being 0 bit/s.