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.

Syntax

name-prefix name
no name-prefix name

Command Default

The default name prefix is dbyp.

Parameters

name
Specifies the selected character string. The length of the character string is between 1 and 21 characters.

Modes

MPLS router MPLS interface dynamic bypass configuration mode (config-router-mpls-if-ethernet-slot/port -dynamic-bypass).

Usage Guidelines

The no form of the command removes the name prefix and sets its value to the default string dbyp.

When configuring, the dynamic bypass LSPs names must start with this name prefix, appended by interface IP, Merge Point IP (for node protection), and a unique number.

The name prefix configuration is only allowed 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.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example configures the name prefix for MPLS Ethernet interface 0/8 to MyDbypass.

device>configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/8
device(config-rouoter-mpls-if-ethernet-0/8)# dynamic-bypass
device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# name-prefix MyDbypass