ospf router-id auto-recover disable

Function

The ospf router-id auto-recover disable command disables automatic router ID recovery after a router detects a router ID conflict.

The undo ospf router-id auto-recover disable command enables automatic router ID recovery after a router detects a router ID conflict.

By default, automatic router ID recovery takes effect after a router detects a router ID conflict.

Format

ospf router-id auto-recover disable

undo ospf router-id auto-recover disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

If a router ID conflict occurs in an OSPF area, the system selects a new router ID, which prevents route flapping and reduces route calculation operations. Other protocols will not go Down when the CPU usage is controlled.

NOTE:

  • If the automatic recovery function is enabled and a router ID conflict occurs between indirectly connected routers in one OSPF area, the system replaces the conflicted router ID with a newly calculated one. The automatic recovery function takes effect on both configured and automatically generated router IDs.
  • The system can replace a router ID in a maximum of three attempts in case the router ID conflict persists.

Example

# Disable automatic router ID recovery after a router detects a router ID conflict.
<HUAWEI> system-view
[~HUAWEI] ospf router-id auto-recover disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >