Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

path

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
path destination { 
    <address | hostname> <strict | loose> 
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols mpls]

Description

Configure path protection on your MPLS network.

Options

destination—Name of a label switched path (LSP). In addition to specifying the name of the configured LSP, you can include some other designation such as primary-path.

address—(Optional) IP address of each transit switch (or the IP address of the loopback interface on the switch) in the LSP. If you want to control exactly which switches are selected for the LSP, specify the address or hostname of each transit switch. Specify the addresses in order, starting with the first provider (transit) switch, and continuing sequentially along the path until reaching the egress provider edge switch.

  • Default: If you do not specify the addresses or hostnames of any switches, the LSP is calculated by the switch.

hostname—(Optional) See address.

  • Default: If you do not specify the addresses or hostnames of any switches, the LSP is calculated by the switch.

loose—(Optional) Indicates that the next address in the path statement is a loose link. This means that the LSP can traverse through other switches before reaching this switch.

  • Default: strict

strict—(Optional) Indicates that the LSP must go to the next address specified in the path statement without traversing other switches. This is the default.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.5.

footer-navigation