< Home

display ospf ldp-sync

Function

The display ospf ldp-sync command displays the status of LDP and OSPF synchronization on an interface.

Format

display ospf ldp-sync interface { all | interface-type interface-number }

Parameters

Parameter Description Value
all Displays information about the synchronization status on all interfaces enabled with LDP and OSPF synchronization. -
interface-type interface-number Displays information about the synchronization status on a specified interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

For all interfaces that are enabled with LDP and OSPF synchronization, run the display ospf ldp-sync command to view information about the status of LDP and OSPF synchronization.

Example

# Display information about the status of LDP and OSPF synchronization on a specified interface.

<sysname> display ospf ldp-sync interface GigabitEthernet 0/0/1
 Interface GigabitEthernet0/0/1
 HoldDown Timer: 9         HoldMaxCost Timer: 50
 LDP State: Up             OSPF Sync State: Sync-Achieved
Table 1 Description of the display ospf ldp-sync interface command output

Item

Description

Interface

Interface connected to neighbors

HoldDown Timer

Interval at which the interface waits to create an LDP session without creating the OSPF neighbor relationship

The default interval is 10 seconds.

HoldMaxCost Timer

Interval at which OSPF advertises the maximum metric in link state advertisements (LSAs) sent by the local device

The default interval is 10 seconds.

NOTE:

If the value of this field is infinite, OSPF keeps advertising the maximum metric value in LSAs sent by the local device before the LDP session is reestablished.

LDP State

Status of an LDP session:
  • Up

  • Down

OSPF Sync State

Status of LDP and OSPF synchronization:
  • Sync-Achieved: indicates that the creation of an LDP session and establishment of the OSPF neighbor relationship are synchronized.

  • HoldDown: indicates the state, in which the interface waits to create an LDP session without creating the OSPF neighbor relationship.

  • HoldMaxCost: indicates that OSPF advertises the maximum metric in LSAs or label switched paths (LSPs) sent by the local device.

  • Init: indicates the initial state.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >