primary hop-limit

Use this command to specify a limit of hops for an RSVP trunk. Hop-limit data is sent to the CSPF server if CSPF is used.

Upon configuration of an arbitrary hop-limit, the hop-limit is compared with the number of hops configured in the primary path, if a primary path has been configured. If the number of hops in the primary path exceeds the hop-limit configured, no Path messages are sent, and any existing session is torn down. If no primary path is configured, the trunk is processed normally and Path messages are sent.

Use the no parameter to reset the trunk to the default hop-limit value.

Command Syntax

Copy
primary hop-limit <1-255>
no primary hop-limit <1-255>
no primary hop-limit

Parameters

<1-255>

Set the number of acceptable hops for the LSP

Default

By default, primary hop limit is 255.

Command Mode

Trunk mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#rsvp-trunk mytrunk
(config-trunk)#primary hop-limit 23