path

A path is a list of router hops that specifies a route across an MPLS domain. Once the user creates a path, the user can create signaled LSPs that see the path.

Syntax

path path_name [ hop ip_addr ] | [ [ insert ip_addr ] [ [ loose | strict ] ip_addr ]
no path { path_name } [ hop ip_addr ] | [ [ insert ip_addr ] [ [ loose | strict ] ip_addr ]

Command Default

No paths are modified by default.

Parameters

path_name
Specifies the selected path name.
hop ip_addr
Configures the specified the strict or loose hop.
insert ip_addr
Specifies the inserted path strict or loose hop.
loose ip_addr
There can be other routers in between.
strict ip_addr
The router must be directly connected to the preceding node.

Modes

MPLS path mode (config-router-mpls-path-name).

Usage Guidelines

The no form of the command removes the specified path.

A path is always configured at the ingress LER and assumes that the ingress LER is the beginning of the path. A path can contain any number of nodes, which correspond to MPLS-enabled routers in the network.

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 a path called sf_to_sj that has four nodes.

device# configure
device(config)# router mpls
device(config-router-mpls)# path sf_to_sj
device(config-router-mpls-path-sf_to_sj)# hop 2.3.4.5 strict
device(config-router-mpls-path-sf_to_sj)# hop 1.2.3.4 strict
device(config-router-mpls-path-sf_to_sj)# exit