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.
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. |
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.
PrecautionsThe 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.