ospf ldp-sync block multi-area

Function

The ospf ldp-sync block multi-area command blocks LDP and OSPF synchronization on a multi-area adjacency interface.

The undo ospf ldp-sync block multi-area command unblocks LDP and OSPF synchronization on a multi-area adjacency interface.

By default, LDP and OSPF synchronization is not blocked on a multi-area adjacency interface.

Format

ospf ldp-sync block multi-area { area-id | area-id }

undo ospf ldp-sync block multi-area { area-id | area-id }

Parameters

Parameter Description Value
area-id

Specifies the ID of an OSPF area.

The value can be a decimal integer ranging from 0 to 4294967295 or in the format of an IP address.

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

The

ldp-sync enable command run in the OSPF area view to enable LDP and OSPF synchronization on the following interfaces:

  • Interfaces with OSPF neighbors in the Up state on a P2P network
  • DRs' and non-DR/BDR devices' interfaces with OSPF neighbors in the Up state on a broadcast network

    If LDP and OSPF synchronization is enabled on an interface that transmits important services, ensure that the interface is not on a standby link. LDP-IGP synchronization can be disabled on a specified interface of the

    VRP.

    You can block LDP-IGP synchronization on a specified interface of the VRP.

Prerequisites

The ospf enable multi-area command has been run.

Precautions

The display ospf ldp-sync interface command can be used to display the synchronization status of an interface configured with LDP and OSPF synchronization.

Example

# Enable LDP and OSPF synchronization on multi-area adjacency interface.
<HUAWEI> system-view
[~HUAWEI] ospf 1
[*HUAWEI-ospf-1] area 0
[*HUAWEI-ospf-1-area-0.0.0.0] quit
[*HUAWEI-ospf-1] area 1
[*HUAWEI-ospf-1-area-0.0.0.1] quit
[*HUAWEI-ospf-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ospf enable 1 area 0
[*HUAWEI-GigabitEthernet0/1/0] ospf enable multi-area 1
[*HUAWEI-GigabitEthernet0/1/0] ospf ldp-sync block multi-area 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >