Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

hop-limit

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
hop-limit number;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols mpls],
[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name],
[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name fast-reroute],
[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name (primary | secondarypath-name],
[edit logical-systems logical-system-name protocols rsvp interface interface-name link-protection],
[edit logical-systems logical-system-name protocols rsvp interface interface-name link-protection bypass bypass-name],
[edit protocols mpls],
[edit protocols mpls label-switched-path lsp-name],
[edit protocols mpls label-switched-path lsp-name fast-reroute],
[edit protocols mpls label-switched-path lsp-name (primary | secondarypath-name],
[edit protocols rsvp interface interface-name link-protection],
[edit protocols rsvp interface interface-name link-protection bypass bypass-name]

Description

Specify the maximum number of routers that an LSP can traverse. This limit can be applied to any of the following:

  • LSPs—The configured hop limit includes the ingress and egress routers. You can specify a hop limit for an LSP and for both primary and secondary paths.

  • Fast reroute detour—Specify the number of additional routers a fast reroute detour can traverse relative to the protected LSP. For example, if an LSP traverses 4 routers, any detour for the LSP can be no more than 10 router hops, including the ingress and egress routers.

  • Link protection bypass—Specify the maximum number of routers that a link protection bypass can traverse.

Options

number—Maximum number of hops.

  • Range: 2 through 255 (for an LSP or for a link protection bypass); 0 through 255 (for fast reroute)

  • Default: 255 (for an LSP or for a link protection bypass); 6 (for fast reroute)

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation