Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

hop-limit

Syntax

hop-limit number;

Hierarchy Level

[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]

Release Information

Statement introduced before Junos OS Release 7.4.

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.

Published: 2012-11-29