No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Blocking Synchronization Between LDP and IGP on an Interface
(Optional) Blocking Synchronization Between LDP and IGP on an Interface
Context
After the ldp-sync enable command is
run in an IGP process, the following situations occur:
On a P2P network, the interfaces whose neighbor status is Up implement
synchronization between LDP and IGP.
On a broadcast network, if the IGP is OSPF, the interfaces (whose
neighbor status is Up) connecting the DR and a non-DR (or BDR) implement
synchronization between LDP and IGP; if the IGP is IS-IS, the interfaces
(whose neighbor status is Up) connecting the DIS and a non-DIS implement
synchronization between LDP and IGP.
For the interfaces on a device bearing
key services, ensure that this device detours around the backup path.
You can block synchronization between LDP and IGP on a specified interface
of the switch.
Procedure
If OSPF is used for IGP, perform the
following steps 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.
Run system-view
The
system view is displayed.
Run interfaceinterface-typeinterface-number
The OSPF interface
view is displayed.
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.
The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.
If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batchinterface-type { interface-number1 [ tointerface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.
Run ospf ldp-sync block
Synchronization between LDP and OSPF is blocked on the interface.
By default, synchronization between LDP and OSPF is not blocked
on an interface.
Run commit
The configuration is committed.
If IS-IS is used for IGP, perform the
following steps 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.
Run system-view
The
system view is displayed.
Run interfaceinterface-typeinterface-number
The IS-IS interface
view is displayed.
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.
The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.
If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batchinterface-type { interface-number1 [ tointerface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.
Run isis ldp-sync block
Synchronization between LDP and IS-IS is blocked on the interface.
By default, synchronization between LDP and IS-IS is not blocked
on an interface.