display ospf ldp-sync interface

Function

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

Format

display ospf [ process-id ] ldp-sync interface { all | interface-name | interface-type interface-number }

Parameters

Parameter Description Value
process-id

Specifies an OSPF process ID. This parameter is optional and its default value is used if no process ID is set.

The value is an integer ranging from 1 to 4294967295. The default value is 1.

all

Displays information about the synchronization status on all interfaces enabled with LDP and OSPF synchronization.

-

interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

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

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the status of LDP and OSPF synchronization on a specified interface.
<HUAWEI> display ospf ldp-sync interface gigabitethernet 0/1/0
Area 0.0.0.1
Interface GE0/1/0
HoldDown Timer: 10        HoldMaxCost Timer: infinite
LDP State: Up             OSPF Sync State: Sync-Achieved
Table 1 Description of the display ospf ldp-sync interface command output
Item Description
Area

Area ID.

Interface

Interface connected to neighbors.

HoldDown Timer

The interval during which an interface waits for creating an LDP session before establishing an IS-IS neighbor relationship.

HoldMaxCost Timer

Interval when OSPF advertises the maximum metric in LSAs sent by the local device. The default interval is 10 seconds.

If infinite is displayed, OSPF always advertises the maximum metric in LSAs sent by the local device before an LDP session is reestablished.

LDP State

Status of an LDP session:

  • Up.
  • Down.
  • GR.
OSPF Sync State

Status of LDP and OSPF synchronization:

  • Sync-Achieved: Creation of an LDP session and the establishment of the OSPF neighbor relationship are synchronized.
  • HoldDown: The state in which the interface waits for creating an LDP session without creating an OSPF neighbor relationship.
  • HoldMaxCost: OSPF advertises the maximum metric in LSAs or LSPs sent by the local device.
  • Init: Initial state.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >