The isis ldp-sync block command blocks synchronization between LDP and IS-IS on an interface.
The undo isis ldp-sync block command restores the default setting.
By default, synchronization between LDP and IS-IS is not blocked on an interface.
Usage Scenario
The ldp-sync enable command run in the IS-IS view on a device enables synchronization between LDP and IS-IS on all local IS-IS interfaces. On an IS-IS interface transmits importance services, LDP and IS-IS synchronization may affect service transmission. If the link is working properly and an LDP session over the link fails, IS-IS sends link state PDUs (LSPs) to advertise the maximum cost of the link. As a result, IS-IS does not select the route for the link, which affects important service transmission.
To prevent the preceding problem, run the isis ldp-sync block command to block synchronization between LDP and IS-IS on the IS-IS interface that transmits important services.
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 block
<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 block