< Home

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 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.

  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the 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 interface 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.

<HUAWEI> display ospf ldp-sync interface vlanif 100
 Interface Vlanif100   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.

To set the interval at which the interface waits to create an LDP session without creating the OSPF neighbor relationship, run the ospf timer ldp-sync hold-down command.

HoldMaxCost Timer

Interval at which OSPF advertises the maximum metric in LSAs sent by the local device.

The default interval is 10 seconds.

To set the interval at which OSPF advertises the maximum metric in LSAs sent by the local device, run the ospf timer ldp-sync hold-max-cost command.

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: The creation of an LDP session and establishment of the OSPF neighbor relationship are synchronized.

  • HoldDown: The interface is waiting to create an LDP session without creating the OSPF neighbor relationship.

  • HoldMaxCost: OSPF advertises the maximum metric in LSAs or LSPs sent by the local device.

  • Init: the initial state.

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