< Home

lsp-length

Function

The lsp-length command sets the length of the LSP that is generated and received by the current IS-IS switch.

The undo lsp-length command restores the default setting.

By default, the IS-IS switch generates and receives 1497-byte LSPs.

Format

lsp-length { originate | receive } max-size

undo lsp-length { originate | receive }

Parameters

Parameter Description Value
originate Indicates the maximum length of generated LSPs. -
receive Indicates the maximum length of received LSPs. -
max-size Specifies the maximum length of LSPs. The max-size of a generated LSP must be smaller than or equal to the max-size of a received LSP. The value is an integer that ranges from 512 to 16384, in bytes. The default value is 1497.
NOTE:
Because the maximum MTU supported by interfaces is 9600 bytes and the LSP header length is 3 bytes, the allowed maximum LSP length is 9597 (9600 – 3) bytes to ensure that two devices on both ends communicate properly.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By controlling the length of LSPs generated and received by IS-IS routers, you can adjust the LSDB synchronization speed and change the network convergence speed.

Precautions
The max-size set using the lsp-length command must meet the following requirements:
  • The MTU of an Ethernet interface must be greater than or equal to the sum of the value of max-size and 3.

  • The MTU of a P2P interface must be greater than or equal to the value of max-size.

Example

# Set the maximum length of an LSP generated by the IS-IS switch to 1024 bytes.

<HUAWEI> system-view
[HUAWEI] isis
[HUAWEI-isis-1] lsp-length originate 1024
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >