Configuring RSVP Timers
Context
If an RSVP node does not receive any Refresh message within a specified period, it deletes the path or reservation state. You can set the interval for sending Path/Resv messages and retry count by setting RSVP timers to change the timeout interval. The default interval and retry count are recommended. The timeout interval is calculated using the following formula:
Timeout interval = (keep-multiplier-number + 0.5) x 1.5 x refresh-interval.
In the formula, keep-multiplier-number specifies the retry count allowed for RSVP Refresh messages; refresh-interval specifies the interval for sending RSVP Refresh messages.
Perform the following configurations on each node of the MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run mpls
The MPLS view is displayed.
- Run mpls rsvp-te timer refresh refresh-interval
The interval for sending RSVP Refresh messages is set.
By default, the interval for sending RSVP Refresh messages is 30 seconds.
If the interval is modified, the modification takes effect after the timer expires.
You are not advised to set a long interval or modify the interval frequently.
- Run mpls rsvp-te keep-multiplier keep-multiplier-number
The retry count allowed for RSVP Refresh messages is configured.
By default, the retry count allowed for RSVP Refresh messages is 3.
Set the retry count greater than or equal to 5. This setting prevents the PSB and RSB from aging or being deleted if the PSB and RSB fail to refresh when a great number of services are transmitted.
- Run commit
The configuration is committed.