The display ospf ldp-sync command displays the status of LDP and OSPF synchronization on an interface.
| 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. | - |
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.
# 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
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:
|
OSPF Sync State |
Status of LDP and OSPF synchronization:
|