The ospf ldp-sync command enables LDP and OSPF synchronization on an interface.
The undo ospf ldp-sync command disables LDP and OSPF synchronization on an interface.
The ospf ldp-sync block command blocks LDP and OSPF synchronization on an interface.
The undo ospf ldp-sync block command unblocks LDP and OSPF synchronization on an interface.
By default, LDP and OSPF synchronization is not enabled on an interface. LDP and OSPF synchronization is not blocked on an interface.
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, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
By configuring LDP and OSPF synchronization, you can shorten traffic interruption when the traffic is switched from the backup link to the primary link and achieve the millisecond-level switchover.
The ldp-sync enable command is run in the OSPF area view to enable LDP and OSPF synchronization on the following interfaces:Precautions
The display ospf ldp-sync interface command can be used to display the synchronization status of an interface configured with LDP and OSPF synchronization.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ospf ldp-sync block
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ospf ldp-sync