ospf multi-area

Function

The ospf frr block multi-area command disables IP FRR on an OSPF multi-area adjacency interface.

The undo ospf frr block multi-area command restores the default configuration.

The ospf remote-lfa disable multi-area command disables remote LFA on a multi-area adjacency interface.

The undo ospf remote-lfa disable multi-area command enables remote LFA on a multi-area adjacency interface.

By default, IP FRR is enabled on multi-area adjacency interfaces.

By default, if the remote-lfa command is run in an OSPF process, remote LFA is enabled on all interfaces in the OSPF process; otherwise, remote LFA is disabled.

Format

ospf frr block multi-area { area-id | area-id }

ospf remote-lfa disable multi-area { area-id | area-id }

undo ospf frr block multi-area { area-id | area-id }

undo ospf remote-lfa disable 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, VBDIF 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

To disable IP fast reroute (FRR) on an OSPF multi-area adjacency interface that is connected to a link carrying key services, run the ospf frr block command. This prevents the link from being calculated as the backup link by FRR and minimizes possible impact on the services.

If the remote-lfa command is run in an OSPF process, remote LFA is enabled on all interfaces in the OSPF process. To disable remote LFA on some interfaces, run the ospf remote-lfa disable command.

Prerequisites

The ospf enable multi-area command has been run.

Precautions

If IP FRR is configured in an OSPF process, it takes effect on all interfaces in the process. If some interfaces require OSPF IP FRR, whereas other interfaces do not, run the ospf frr block command on the interfaces that do not require OSPF IP FRR before you configure OSPF IP FRR.

If the remote-lfa command is not run prior to the ospf remote-lfa disable command, the ospf remote-lfa disable command can be run on an interface, but its configuration does not take effect on the interface.

If you run the ospf remote-lfa disable command, followed by the remote-lfa command, the ospf remote-lfa disable command remains effective.

Example

# Disable remote LFA on a 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 remote-lfa disable multi-area 1
# Disable IP FRR on OSPF 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 GigabitEthernet0/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 frr block multi-area 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >