< Home

lsp-length

Function

The lsp-length command configures the length of the LSP that is originated and received by the current IS-IS system. The unit of the length of the LSP is byte.

The undo lsp-length command restores the default setting.

By default, the length of the LSPs that are originated and received by the current IS-IS system is 1497 bytes.

Format

lsp-length { originate | receive } max-size

undo lsp-length { originate | receive }

Parameters

Parameter Description Value
originate Indicates the length of the originated LSPs. -
receive Indicates the length of the received LSPs. -
max-size Specifies the maximum length of LSPs in bytes. The value is an integer that ranges from 512 to 16384 bytes. By default, it is 1497 bytes.
NOTE:

Because the MTU supported by the interface is 9600 bytes and the length of the LSP packet header is 3 bytes, to ensure the communication between two devices, the maximum value allowed by the maximum length of the LSP packet is 9600-3=9597 bytes.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

This command is valid for all topologies in an IS-IS process.

When using max-size, ensure that the value of the max-size of the originated LSP (or the forwarded LSP) must be smaller than or equal to that of the received LSP, or it is not able to configure successfully.

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

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

Example

# Set the maximum length of the LSP that is originated by the current IS-IS system to 1024 bytes.

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