< Home

Enabling Synchronization Between LDP and IGP

Context

Synchronization between LDP and IGP can be configured in either of the following modes:
  • Enable this function in the interface view.

    This mode allows synchronization between LDP and IGP to be enabled on interfaces. This mode applies to the scenario where a few interfaces need to support this function.

  • Enable this function in an IGP process.

    This mode allows synchronization between LDP and IGP to be enabled on all interfaces in the IGP process. This mode applies to the scenario where many interfaces on a node need to support this function.

    • Synchronization between LDP and IGP can be enabled in IS-IS processes, not in the interface view.

    • If the synchronization status between LDP and IS-IS is different on an interface and in an IS-IS process, the synchronization status on the interface takes effect.

Procedure

  • If OSPF is used as an IGP, perform the following steps:
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    4. Run ospf ldp-sync

      Synchronization between LDP and OSPF is enabled on the specified interface.

      By default, synchronization between LDP and OSPF is disabled on an interface.

  • If IS-IS is used as an IGP, perform the following steps:

    Enable synchronization between LDP and IS-IS on an interface.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    4. Run isis enable process-id

      IS-IS is enabled.

    5. Run isis ldp-sync

      Synchronization between LDP and IS-IS is enabled on the specified interface.

      By default, synchronization between LDP and IS-IS is disabled on an interface.

    Enable synchronization between LDP and IS-IS in an IS-IS process.

    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS process view is displayed.

      process-id specifies an IS-IS process. If process-id is not specified, the default IS-IS process ID of the system is 1.

    3. Run ldp-sync enable [ mpls-binding-only ]

      Synchronization between LDP and IS-IS is enabled on all interfaces in the specified IS-IS process.

      By default, synchronization between LDP and IS-IS is disabled on all interfaces in an IS-IS process.

      If you want to enable synchronization between LDP and IS-IS on MPLS LDP-enabled interfaces, please specify the parameter mpls-binding-only.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >