Controlling MPLS TE tunnel setup
Before performing the configuration tasks in this section, be aware of each configuration objective and its impact on your device.
Perform the tasks in this section on the ingress node of the MPLS TE tunnel.
Enabling route and label recording
Perform this task to record the nodes that an MPLS TE tunnel traverses and the label assigned by each node. The recorded information helps you know about the path used by the MPLS TE tunnel and the label distribution information, and when the tunnel fails, it helps you locate the fault.
To enable route and label recording:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Record routes or record both routes and labels. |
| By default, both route recording and label recording are disabled. |
Enabling loop detection
Enabling loop detection also enables the route recording function, regardless of whether you have configured the mpls te record-route command. Loop detection enables each node of the tunnel to detect whether a loop has occurred according to the recorded route information.
To enable loop detection:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Enable loop detection. | mpls te loop-detection | By default, loop detection is disabled. |
Configuring tunnel setup retry
If the ingress node fails to establish an MPLS TE tunnel, it waits for the retry interval, and then tries to set up the tunnel again. It repeats this process until the tunnel is established or until the number of attempts reaches the maximum. If the tunnel cannot be established when the number of attempts reaches the maximum, the ingress waits for a longer period and then repeats the previous process.
To configure tunnel setup retry:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Configure maximum number of tunnel setup attempts. | mpls te retry times | By default, the maximum number of attempts is 3. |
4. Configure the retry interval. | mpls te timer retry seconds | By default, the retry interval is 2 seconds. |
Configuring RSVP resource reservation style
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Configure the resources reservation style for the tunnel. | mpls te resv-style { ff | se } | By default, the resource reservation style is SE. In current MPLS TE applications, tunnels are established typically by using the make-before-break mechanism. Therefore, HP recommends that you use the SE style. |