lsp-length

Function

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.

Format

lsp-length { originate | receive } max-size

undo lsp-length { originate | receive }

Parameters

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.

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

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.

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

    For normal packet forwarding, the value of max-size set using the lsp-length receive command must also meet the preceding two conditions.

Precautions

The length of LSPs must be less than the MTU on an IS-IS interface; otherwise, the interface fails to send the LSPs.

Example

# Set the maximum length of locally generated LSPs 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 >