< Home

ospf router-id auto-recover disable

Function

The ospf router-id auto-recover disable command disables a device from performing automatic recovery after detecting router ID conflict.

The undo ospf router-id auto-recover disable command enables a device to perform automatic recovery after detecting router ID conflict.

By default, a device performs automatic recovery after detecting 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

Usage Guidelines

If router ID conflict occurs in an OSPF area, the system can define a new router ID, preventing route flapping and reducing route calculation operations. Other protocols will not go Down when the CPU usage is controlled.

  • 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 a device from performing automatic recovery after detecting 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 >