hop-limit

Use this command to set the hop limit attribute for auto bypass. Auto bypass sessions of matching attribute type will inherit this hop limit constraint while requesting for an LSP to CSPF.

Use the no parameter to reset hop limit attribute to default value.

Command Syntax

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

Parameters

hop-limit <1-255>

Specifies the attribute for Auto bypass hop limit. The default value is 255.

Default

None

Command Mode

Auto bypass attribute mode

Applicability

Introduced in OcNOS version 6.5.1.

Example

Example for setting up the hop limit attribute to 5:

Copy
#configure terminal
(config)#router rsvp
(config-router)#auto-bypass 
(config-auto-bypass)#attributes best-effort
(config-auto-bypass-attr)#hop-limit 5
(config-auto-bypass-attr)#commit
(config-auto-bypass-attr)#exit

Example to reset the hop limit attribute to default value:

Copy
#configure terminal
(config)#router rsvp
(config-router)#auto-bypass 
(config-auto-bypass)#attributes best-effort
(config-auto-bypass-attr)#no hop-limit
(config-auto-bypass-attr)#commit
(config-auto-bypass-attr)#exit