device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# ldp-sync
device(config-router-ospf-vrf-default-vrf)# ldp-sync hold-down 100
device(config-router-ospf-vrf-default-vrf)# exit
device(config)# router isis
device(config-isis-router)# address-family ipv4 unicast
device(config-router-isis-ipv4u)# metric-style wide
device(config-router-isis-ipv4u)# ldp-sync
device(config-router-isis-ipv4u)# ldp-sync hold-down 100
device# show ip ospf OSPF Version Version 2 Router Id 10.1.1.2 ASBR Status No ABR Status No (0) Redistribute Ext Routes from Initial SPF schedule delay 0 (msecs) Minimum hold time for SPFs 0 (msecs) Maximum hold time for SPFs 0 (msecs) External LSA Counter 0 External LSA Checksum Sum 00000000 Originate New LSA Counter 9 Rx New LSA Counter 6 External LSA Limit 174762 Database Overflow Interval 0 Database Overflow State : NOT OVERFLOWED RFC 1583 Compatibility : Enabled Slow neighbor Flap-Action : Disabled, timer 300 Nonstop Routing: Disabled Graceful Restart: Disabled, timer 120 Graceful Restart Helper: Enabled LDP-SYNC: Globally enabled, Hold-down time 100 sec
device# show running config router isis net 11.0010.0100.1002.00 log adjacency address-family ipv4 unicast ldp-sync metric-style wide ldp-sync ldp-sync hold-down 100 redistribute connected level-1 redistribute static exit-address-family address-family ipv6 unicast ldp-sync multi-topology transition exit-address-family end
The following example shows the previous steps to configure to globally enable MPLS LDP-IGP synchronization with OSPF and IS-IS.
device(config)# router ospf device(config-router-ospf-vrf-default-vrf)# ldp-sync device(config-router-ospf-vrf-default-vrf)# ldp-sync hold-down 100 device(config-router-ospf-vrf-default-vrf)# exit device(config)# router isis device(config-router-isis)# address-family ipv4 unicast device(config-router-isis-ipv4u)# metric-style wide device(config-router-isis-ipv4u)# ldp-sync device(config-router-isis-ipv4u)# ldp-sync hold-down 100