timer lsp-max-age

Use timer lsp-max-age to specify the maximum lifetime of LSPs.

Use undo timer lsp-max-age to restore the default.

Syntax

timer lsp-max-age seconds

undo timer lsp-max-age

Default

The maximum LSP lifetime is 1200 seconds.

Views

SPBM view

Predefined user roles

network-admin

Parameters

seconds: Specifies the maximum LSP lifetime in the range of 1 to 65535 seconds.

Usage guidelines

This command specifies the maximum amount of time for an LSP generated by the device to be retained in an LSDB.

SPBM nodes add a lifetime in each LSP they have advertised. If an SPBM node does not receive an update for an LSP before its lifetime expires, the SPBM node performs the following actions:

To prevent unnecessary LSP age-outs, increase the LSP lifetime on a slow network.

Examples

# Set the maximum LSP lifetime to 1500 seconds.

<Sysname> system-view
[Sysname] spbm
[Sysname-spbm] timer lsp-max-age 1500

Related commands

timer lsp-refresh