protocols mpls-rsvp tunnels tunnel primary path-selection hop-limit
Limits primary paths to those that do not exceed a number of hops for CSPF.
- name
- The tunnel name.
- value
- The maximum number of hops allowed.
Configuration mode
protocols {
mpls-rsvp {
tunnels {
tunnel <name> {
primary {
path-selection {
hop-limit <value>
}
}
}
}
}
}
Use this command to create a hop-limit constraint that limits CSPF to paths that do not exceed the set number of hops.
Use the set form of this command to create a hop-limit constraint for primary paths.
Use the delete form of this command to delete a hop-limit constraint for primary paths.
Use the show form of this command to display the configuration that creates a hop-limit constraint for primary paths.
Example
The following example shows how to limit the primary path to 12 hops for the RSVP-TE tunnel named pe1-pe2.
vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 primary path-selection hop-limit 12