Support for BFD Failure Action with SR-TE LSPs

S-BFD provides a mechanism to check the data path forwarding for an SR-TE LSP. If an S-BFD session fails, the LSP can be brought operationally down when the failure-action command is configured with the failover-or-down option. When the failure-action command is not configured, an S-BFD failure will only raise a trap. The failure-action command is available in the following context:

configure>router>mpls
   lsp <name> sr-te
      bfd
        failure-action failover-or-down 
        no failure-action

The failure-action command is configured at the LSP level. It can be configured whether S-BFD is applied at the LSP level or the individual path level. The failure-action command can be configured even if the BFD template is not yet configured.

For LSPs configured with a primary path and a secondary or standby path and a failure action of failover-or-down, the following points apply.

For LSPs configured with only one path and a failure action of failover-or-down, the following points apply.

For LSPs configured with one or more paths but no configured failure action, a BFD trap is raised when the LSP goes down. The path state does not change.