The ospf enable multi-area command enables OSPF on a multi-area adjacency interface.
The undo ospf enable multi-area command disables OSPF on a multi-area adjacency interface.
By default, OSPF is disabled on a multi-area adjacency interface.
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, VBDIF interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
In OSPF, intra-area links take precedence over inter-area links. Therefore, even if a high-speed link exists between two areas, a low-speed intra-network link rather than the high-speed link is used to transmit inter-area traffic. To address this problem, run the ospf enable multi-area command to enable OSPF on a multi-area adjacency interface so that a link can be shared by multiple areas.
Prerequisites
OSPF has been enabled on the interface using the ospf enable [ process-id ] area area-id command.
Precautions
If the ospf enable multi-area and ospf enable commands are run on the same interface, the areas specified in the commands must be different.
The ospf enable multi-area command does not apply to OSPF DCN interfaces. If OSPF has been enabled on an interface of a virtual link in a transit area using the ospf enable or ospf enable multi-area command, OSPF cannot be enabled on the interface in the backbone area.<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 GigabitEthernet0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ospf enable 1 area 0 [*HUAWEI-GigabitEthernet0/1/0] ospf enable multi-area 1