mpls rsvp-te timer graceful-shutdown

Function

The mpls rsvp-te timer graceful-shutdown command sets a graceful shutdown timeout period.

The undo mpls rsvp-te timer graceful-shutdown command deletes a graceful shutdown timeout period.

By default, no graceful shutdown timeout period is set.

Format

mpls rsvp-te timer graceful-shutdown graceful-shutdown-time

undo mpls rsvp-te timer graceful-shutdown

Parameters

Parameter Description Value
graceful-shutdown-time

Sets a graceful shutdown timeout period.

The value is an integer ranging from 30 to 1200, in seconds.The default value is 0. The original RSVP LSP is automatically deleted only if the graceful shutdown timeout period is set and the rerouting fails within this timeout period.

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

Before an upgrade is performed on a device, run the mpls rsvp-te timer graceful-shutdown command to set a graceful shutdown timeout period. During a graceful shutdown process, a rerouting request is sent for an RSVP-TE LSP. If the rerouting fails within the configured timeout period, the RSVP-TE LSP is torn down.

Configuration Impact

The mpls rsvp-te timer graceful-shutdown command affects the rerouting operations triggered only by the graceful shutdown function.

If a graceful shutdown timeout period is modified, the modification takes effect on RSVP-TE LSPs only in the next graceful shutdown.

Precautions

Before the timeout-triggered RSVP LSP deletion is enabled, set a graceful shutdown timeout period and then perform the graceful shutdown function.

The graceful shutdown timeout period must be greater than or equal to the delayed switching time configured on each RSVP LSP ingress.

Example

# Set a graceful shutdown timeout period to 60s.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] mpls rsvp-te timer graceful-shutdown 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >