The graceful shutdown function can be enabled to help traffic migrate in seamless switching scenarios, which reduces the upgrade and maintenance expenses on an entire device.
Procedure
- Configure graceful shutdown in the MPLS view.
- Run system-view
The system view is displayed.
- Run mpls
The MPLS view is displayed.
- Run mpls te
MPLS TE is globally enabled.
- Run mpls rsvp-te
RSVP-TE is enabled.
- Run mpls rsvp-te graceful-shutdown
Graceful shutdown is enabled.
- (Optional) Run mpls rsvp-te timer graceful-shutdown graceful-shutdown-time
A graceful shutdown timeout period is set.
After a local device performs graceful shutdown and sends a reroute request, the device deletes the RSVP LSP if the rerouting fails within the graceful shutdown timeout period.
- Run commit
The configuration is committed.
- Configure graceful shutdown in the interface view.
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run mpls
MPLS is enabled on the interface.
- Run mpls te
MPLS TE is enabled on the interface.
- Run mpls rsvp-te graceful-shutdown
Graceful shutdown is enabled.
- Run commit
The configuration is committed.