At least one excluded interface is mandatory to enable the bypass LSP. Configure static bypass LSPs with at least one exclude-interface or protected interface.
The user can configure more than one exclude-interface in a bypass LSP. In such a case, the bypass LSP can protect backup sessions from all facility protected FRR LSPs on all the exclude interfaces, provided that their MP and bypass egress match.
An MPLS interface which is configured as an exclude interface for a static bypass LSP is not allowed to be manually unconfigured.
To configure a bypass LSP with an excluded interface, complete the following steps.
device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-my-bypass-lsp)# exclude-interface Ethernet 0/8 device(config-router-mpls-my-bypass-lsp)# exclude-interface ve 203 device(config-router-mpls-my-bypass-lsp)# exclude-interface Ethernet 0/6
The following example combines the steps above to configure a static bypass LSP to exclude selected interfaces with a unique bypass LSP name of my-bypass-lsp .
device>configure device(config)# router mpls device(config-router-mpls)# bypass-lsp my-bypass-lsp device(config-router-mpls-my-bypass-lsp)# exclude-interface Ethernet 0/8 device(config-router-mpls-my-bypass-lsp)# exclude-interface ve 203 device(config-router-mpls-my-bypass-lsp)# exclude-interface Ethernet 0/6