The name-prefix configuration is allowable only when there no existing dynamic bypasses corresponding to a dynamic bypass interface. When the user wants to change the name-prefix, the user must disable the dynamic bypass on the interface and reconfigure the name-prefix, then re-enable the dynamic bypass on the interface.
To specify the name-prefix for a dynamic bypass LSP, complete the following steps.
device>configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/8
device(config-router-mpls-if-ethernet-0/8)# dynamic bypass
device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# name-prefix mydps
The following example combines the steps above to specify the name-prefix for a dynamic bypass LSP. In this example, the selected interface is 0/8 , and the name-prefix is mydps .
device>configure device(config)# router mpls device(config-router-mpls)# mpls-interface ethernet 0/8 device(config-router-mpls-if-ethernet-0/8)# dynamic bypass device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# name-prefix mydps