The mpls te p2mp-te leaf switch-delay command sets a leaf CR-LSP switchover hold-off time and deletion hold-off time for P2MP TE make-before-break (MBB) mechanism.
The undo mpls te p2mp-te leaf switch-delay command restores the default configuration.
By default, the leaf CR-LSP switchover hold-off time and deletion hold-off time are the same as those configured using the mpls te switch-delay command.
Parameter | Description | Value |
---|---|---|
switch-time |
Sets a hold-off time after which traffic is switched from the primary sub-LSP to the Modified sub-LSP. |
The value is fixed at 0, in ms. |
delete-delay delete-time |
Sets a hold-off time for deleting the primary sub-LSP after traffic has been switched to the Modified sub-LSP. |
The value is fixed at 0, in ms. |
Usage Scenario
MPLS P2MP TE uses an MBB mechanism by default. If MPLS P2MP TE tunnel attributes (such as the bandwidth or path) change, a new leaf CR-LSP (also called Modified sub-LSP) with new attributes must be established before the original leaf CR-LSP (also called primary sub-LSP) is torn down to prevent data loss and additional bandwidth consumption during traffic switching. By default, the primary sub-LSP is deleted only after a specified hold-off time elapses. Before the hold-off time elapses, both the primary sub-LSP and Modified sub-LSP carry traffic. If the egress cannot receive traffic only from one sub-LSP, two copies of traffic exist. To prevent two copies of traffic, run the mpls te p2mp-te leaf switch-delay command to set both the switchover hold-off time and deletion hold-off time to 0. Traffic is then immediately switched to the Modified sub-LSP, and the primary sub-LSP is immediately deleted.
Prerequisites
MPLS TE has been enabled globally using the mpls te command.
Precautions
The mpls te switch-delay command is a global configuration, but the mpls te p2mp-te leaf switch-delay command is not a global configuration. If the mpls te p2mp-te leaf switch-delay command is run, this command configuration takes effect, irrespective of whether the mpls te switch-delay command is run. If the mpls te p2mp-te leaf switch-delay command is not run, the mpls te switch-delay command configuration takes effect.
After the mpls te p2mp-te leaf switch-delay command is run, traffic may be interrupted if an ingress is idle but the egress is busy. In this situation, either of the following may occur: