protocols mpls-rsvp tunnels tunnel primary record-route record-label
Records the labels used along the primary path.
- name
- The tunnel name.
Configuration mode
protocols {
mpls-rsvp {
tunnels {
tunnel <name> {
primary {
record-route {
record-label
}
}
}
}
}
}
Use this command to record the labels in use along the primary path. The labels used along the path are displayed using the show mpls rsvp session detail command.
For example, here is a sample of the default show mpls rsvp session detail output output:
Record route: <var> 10.10.11.6 10.10.12.7
Compared with the show mpls rsvp session detail output output when this command is configured:
Record route: <var> 10.10.11.6 (52480) 10.10.12.7 (3)
Use the set form of this command to record the labels in use along the primary path.
Use the delete form of this command to remove the configuration to record the labels in use along the primary path.
Use the show form of this command to display the configuration to record the labels in use along the primary path.
Example
The following example shows how to record the labels in use along the primary path for the RSVP-TE tunnel named pe1-pe2.
vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 primary record-route record-label