The lsp-length command configures a length for the LSPs that are generated and received by the current IS-IS system.
The undo lsp-length command restores the default setting.
This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.
By default, the size of the LSP generated by the IS-IS and the size of the received LSP are 1497 bytes.
Parameter | Description | Value |
---|---|---|
originate |
Configures a length for locally generated LSPs. |
- |
receive |
Configures a length for received LSPs. |
- |
max-size |
Specifies the maximum length of an LSP, in bytes. |
The value is an integer ranging from 512 to 16384, in bytes. The default value is 1497 bytes. |
Usage Scenario
max-size of an LSP to be generated must be less than or equal to max-size of an LSP to be received. Otherwise, the configuration fails.
The value of max-size in the lsp-length originate command must meet the following conditions. Otherwise, the interface MTU state is considered Down.Precautions
The length of LSPs must be less than the MTU on an IS-IS interface; otherwise, the interface fails to send the LSPs.