ip route fast-switchover enable

Use ip route fast-switchover enable to enable IPv4 route fast switchover.

Use undo ip route fast-switchover enable to disable IPv4 route fast switchover.

Syntax

ip route fast-switchover enable

undo ip route fast-switchover enable

Default

IPv4 route fast switchover is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command applies to a device that provides the same physical output interface for large numbers of routes, including ECMP routes and primary/secondary routes. When a link failure occurs on the interface, the device must perform the following tasks before switching the traffic to another route:

  1. Deletes all ARP entries for the link.

  2. Instructs the FIB to delete the associated FIB entries.

This procedure is time consuming and interrupts traffic for a long time. To resolve this problem, you can enable route fast switchover. This feature allows the device to instruct the FIB to delete the invalid FIB entries for route switchover without deleting the relevant ARP entries.

Examples

# Enable IPv4 route fast switchover.

<Sysname> system-view
[Sysname] ip route fast-switchover enable