Specifying Path Selection
When you have configured both primary and secondary paths for an LSP, it might be necessary to ensure that only a specific path is used.
The
selectstatement is optional. If you do not configure this statement, an automatic path selection algorithm is used. If you configure theselectstatement, you must specify either themanualoption or theunconditionaloption. You cannot specify both.The
manualandunconditionaloptions do the following:
manual—The path is selected for carrying traffic if it is up and stable for at least the revert timer window (potentially before the revert timer has elapsed). Traffic is sent to other working paths if the current path is down or degraded (receiving errors). This parameter overrides all other path attributes except theselect unconditionalstatement.unconditional—The path is selected for carrying traffic unconditionally, regardless of whether the path is currently down or degraded (receiving errors). This parameter overrides all other path attributes.Because the
unconditionaloption switches to a path without regard to its current status, be aware of the following potential consequences when using this parameter:
- If a path is not currently up when you enable the
unconditionaloption, it can cause traffic disruptions. Ensuring that a path is functional before specifying theunconditionaloption helps to avoid this issue.- Once a path is selected because it has the
unconditionaloption enabled, all other paths for the LSP are gradually cleared, including the primary and standby paths. No path can act as a standby to an unconditional path, so signaling those paths serves no purpose.You can configure only one path for an LSP with the
selectmanualstatement and one path for an LSP with theselectunconditionalstatement. These statements cannot be configured on two or more paths used by the same LSP.You can enable and disable the
manualandunconditionaloptions for theselectstatement while LSPs and their paths are up and running without disrupting traffic.To modify the behavior of the LSP such that a path is selected for carrying traffic if it is up and stable for at least the revert timer window, include the
selectstatement with themanualoption:select{manual;}For a list of hierarchy levels at which you can include this statement, see the summary section for this statement.
To modify the behavior of the LSP such that a path is selected for carrying traffic unconditionally, regardless of whether the path is currently down or degraded, include the
selectstatement with theunconditionaloption:select{unconditional;}For a list of hierarchy levels at which you can include this statement, see the summary section for this statement.