Soft preemption capability on unprotected adaptive LSPs (which is disabled by default) can be configured irrespective of its state (enable or disable).
Non-adaptive and/or FRR enabled LSPs cannot be configured with soft preemption capability. In this scenario, the LSP must be disabled first to configure soft preemption based on the policies, other changes also may be required, such as removing FRR.
All secondary paths configured on the LSP would be allowed to have soft preemption configured independently.
The following steps must be followed to configure soft preemption.
device# configure
device(config)# router mpls
device(config-router-mpls)# path sec
device(config-router-mpls-path-sec)# lsp test
device(config-router-mpls-lsp-test)# to 10.1.1.100
device(config-rouoter-mpls-lsp-test)# adaptive
device(config-router-mpls-lsp-test)# soft-preemption
device(config-router-mpls-lsp-test)# secondary-path sec
device(config-router-mpls-lsp-test)# traffic-eng mean-rate 100
device(config-router-mpls-lsp-test-secpath-sec)# adaptive
device(config-router-mpls-lsp-test-secpath-sec)# soft-preemption
device(config-router-mpls-lsp-test-secpath-sec)# enable Connecting signaled LSP test
The soft-preemption command enables soft preemption functionality. This command must be used on both, the primary and secondary paths.
device# configure device(config)# router mpls device(config-router-mpls)# path sec device(config-router-mpls-path-sec)# lsp test device(config-router-mpls-lsp-test)# to 10.1.1.100 device(config-router-mpls-lsp-test)# traffic-eng mean-rate 100 device(config-router-mpls-lsp-test)# adaptive device(config-router-mpls-lsp-test)# soft-preemption device(config-router-mpls-lsp-test)# secondary-path sec device(config-router-mpls-lsp-test)# traffic-eng mean-rate 100 device(config-router-mpls-lsp-test-secpath-sec)# adaptive device(config-router-mpls-lsp-test-secpath-sec)# soft-preemption device(config-router-mpls-lsp-test-secpath-sec)# enable