< Home

timer lsp-max-age

Function

The timer lsp-max-age command sets the maximum lifetime for the LSPs generated by an IS-IS process.

The undo timer lsp-max-age command restores the default setting.

By default, the maximum lifetime of LSPs is 1200 seconds.

Format

timer lsp-max-age age-time

undo timer lsp-max-age

Parameters

Parameter Description Value

age-time

Specifies the maximum lifetime for LSPs.

The value is an integer that ranges from 2 to 65535, in seconds.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the switch generates the system LSP, the system fills in the LSP with its maximum lifetime. After other switches receive this LSP, the lifetime of the LSP is reduced accordingly. If the switch does not receive an updated LSP, the lifetime of the LSP is reduced to 0, and the switch retains the LSP for another 60 seconds. If the switch still does not received any updated LSP within 60 seconds, the switch deletes the LSP.

You can run the timer lsp-max-age command to adjust the maximum lifetime of LSPs to ensure the validity of existing LSPs before new LSPs are received.

Precautions

The maximum lifetime of LSPs must be longer than the interval for updating LSPs to ensure that LSPs can be updated before being deleted.

Example

# Set the maximum lifetime of the LSPs generated by the current IS-IS process to 25 minutes (1500 seconds).

<HUAWEI> system-view
[HUAWEI] isis
[HUAWEI-isis-1] timer lsp-max-age 1500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >