isis timer ldp-sync hold-max-cost

Function

The isis timer ldp-sync hold-max-cost command sets the interval at which IS-IS sends LSPs to advertise the maximum cost.

The undo isis timer ldp-sync hold-max-cost command restores the default interval.

By default, IS-IS keeps sending LSPs to advertise the maximum cost of 16777214.

Format

isis timer ldp-sync hold-max-cost value

isis timer ldp-sync hold-max-cost infinite

undo isis timer ldp-sync hold-max-cost

Parameters

Parameter Description Value
value

Set the interval at which IS-IS sends LSPs to advertise the maximum cost.

The value is an integer ranging from 0 to 65535.

infinite

Indicates that IS-IS advertises the maximum cost all the time before an LDP session and an LDP adjacency are reestablished.

-

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VE interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

The isis timer ldp-sync hold-max-cost command sets the interval at which IS-IS sends LSPs to advertise the maximum cost. When an LDP session or LDP adjacency on the primary LSP fails, traffic is switched to a backup LSP and transmitted along the backup LSP before the LDP session and LDP adjacency are reestablished for the primary LSP.

Select the parameters based on network requirements.

  • If IS-IS carries only LDP services, configure the infinite parameter so that the selected IS-IS routes are always the same as the LDP LSPs.
  • If IS-IS carries multiple types of services, including LDP services, set the value parameter so that the teardown of LDP sessions does not affect IS-IS route selection or other services.
  • If the current link works in Hold-max-cost suppression mode, the value of the hold-max-cost timer can be modified only after the timer expires and the current link re-enters the Hold-max-cost suppression mode.

Prerequisites

  • An IS-IS process has been enabled using the isis enable command in the interface view.
  • LDP and IS-IS synchronization has been enabled using the isis ldp-sync command in the interface view.

Configuration Impact

If the isis timer ldp-sync hold-max-cost command is run more than once, the latest configuration overrides the previous ones.

Example

# Set the interval at which IS-IS sends LSPs to advertise the maximum cost to 8s.
<HUAWEI> system-view
[~HUAWEI] isis 1
[*HUAWEI-isis-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] isis enable
[*HUAWEI-GigabitEthernet0/1/0] isis ldp-sync
[*HUAWEI-GigabitEthernet0/1/0] isis timer ldp-sync hold-max-cost 8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >