The isis ldp-sync command enables synchronization between LDP and IS-IS on an interface.
The undo isis ldp-sync command disables synchronization between LDP and IS-IS on an interface.
By default, synchronization between LDP and IS-IS is disabled on an interface.
Usage Scenario
Run the isis ldp-sync command to enable synchronization between LDP and IS-IS to prevent traffic loss in the preceding problems. Run this command on the interfaces on both ends of the link between the node where the primary LSP and the backup LSP diverge from each other and its LDP peer on the primary LSP.
Prerequisites
The IS-IS process has been started using the isis enable command in the interface view.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] isis enable 1 [HUAWEI-Vlanif100] isis ldp-sync
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] isis enable 1 [HUAWEI-GigabitEthernet0/0/1] isis ldp-sync