primary-path

Configures an explicit path for the bypass LSP or dynamic bypass LSP.

Syntax

primary-path { path_name }
no primary-path { path_name }

Command Default

By default, there is no configuration of the primary path.

Parameters

path_name
Specifies the name of the configured path in the MPS router.

Modes

MPLS router bypass LSP configuration mode (config-router-mpls-bypass-lsp-bypass_name).

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

Usage Guidelines

The path must be already defined in MPLS router.

The user can configure an explicit path for dynamic bypass LSPs that are created for a protected interface.

The no form of this command removes the path from the bypass LSP and considers the primary path as not configured.

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 defines dbyp-path as the primary path.

device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp dbyp-path
device(config-router-mpls-bypass-lsp-dbyp-path)# 

The following example defines dbyp-path as the primary path for dynamic bypass MPLS ethernet interface 0/8.

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)# primary-path dbyp-path