Configuring LDP-OSPF synchronization

LDP-IGP synchronization is not supported for an OSPF process and its OSPF areas if the OSPF process belongs to a VPN instance.

To configure LDP-OSPF synchronization for an OSPF process:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter OSPF view.

ospf [ process-id | router-id router-id ] *

N/A

3. Enable LDP-OSPF synchronization.

mpls ldp sync

By default, LDP-OSPF synchronization is disabled.

4. Return to system view.

quit

N/A

5. Enter interface view.

interface interface-type interface-number

N/A

6. (Optional.) Disable LDP-IGP synchronization on the interface.

mpls ldp igp sync disable

By default, LDP-IGP synchronization is enabled on an interface.

7. Return to system view.

quit

N/A

8. Enter LDP view.

mpls ldp

N/A

9. (Optional.) Set the delay for LDP to notify IGP of the LDP convergence.

igp sync delay time

By default, LDP immediately notifies IGP of the LDP convergence completion.

10. (Optional.) Set the maximum delay for LDP to notify IGP of the LDP-IGP synchronization status after an LDP restart or active/standby switchover.

igp sync delay on-restart time

By default, the maximum notification delay is 90 seconds.

To configure LDP-OSPF synchronization for an OSPF area:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter OSPF view.

ospf [ process-id | router-id router-id ] *

N/A

3. Enter area view.

area area-id

N/A

4. Enable LDP-OSPF synchronization.

mpls ldp sync

By default, LDP-OSPF synchronization is disabled.

5. Return to system view.

quit

N/A

6. Enter interface view.

interface interface-type interface-number

N/A

7. (Optional.) Disable LDP-IGP synchronization on the interface.

mpls ldp igp sync disable

By default, LDP-IGP synchronization is enabled on an interface.

8. Return to system view.

quit

N/A

9. Enter LDP view.

mpls ldp

N/A

10. (Optional.) Set the delay for LDP to notify IGP of the LDP convergence.

igp sync delay time

By default, LDP immediately notifies IGP of the LDP convergence completion.

11. (Optional.) Set the maximum delay for LDP to notify IGP of the LDP-IGP synchronization status after an LDP restart or active/standby switchover.

igp sync delay on-restart time

By default, the maximum notification delay is 90 seconds.