Specifying the Name Prefix

Use the name-prefix interface command to specify a name prefix for the dynamic bypass LSPs to be created for the MPLS protected interface. When configured, the dynamic bypass LSPs have their LSP names starting with this name prefix, appended by interface IP, merge point IP, and instance number.

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.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable MPLS-capable interfaces and specify the selected Ethernet interface. In this example, the selected Ethernet interface is 0/8.
    device(config-router-mpls)# mpls-interface ethernet 0/8
  4. Enable the interface level dynamic bypass.
    device(config-router-mpls-if-ethernet-0/8)# dynamic bypass
  5. Configure the name-prefix command. In this example, the name-prefix configuration is mydps . This is the default name for the prefix string.
    device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# name-prefix mydps 

Example

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