Setting the IRF link down report delay
To prevent frequent IRF splits and merges during link flapping, configure the IRF ports to delay reporting link down events.
An IRF port does not report a link down event to the IRF fabric immediately after its link changes from up to down. If the IRF link state is still down when the delay is reached, the port reports the change to the IRF fabric.
An IRF port does not delay a link up event. It reports the link up event immediately after the IRF link comes up. However, for fiber IRF physical interfaces, the IRF port does not report the link up event immediately to the IRF fabric if the link up event occurs in the following conditions:
The IRF link was down because the physical interfaces were shut down by using the shutdown command or were disconnected.
The IRF link is recovered after you execute the undo shutdown command or reconnect the IRF physical interfaces.
In the above conditions, the IRF port reports the link up event to the IRF fabric after the delay time expires.
When you configure the IRF link down report delay, follow these restrictions and guidelines:
Make sure the IRF link down report delay is shorter than the heartbeat or hello timeout settings of upper-layer protocols (for example, CFD, VRRP, and OSPF). If the report delay is longer than the timeout setting of a protocol, unnecessary recalculations might occur.
Set the delay to 0 seconds in the following situations:
The IRF fabric requires a fast master/subordinate or IRF link switchover.
The BFD or GR feature is used.
You want to shut down an IRF physical interface or reboot an IRF member device. (After you complete the operation, reconfigure the delay depending on the network condition.)
To set the IRF link down report delay:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Set the IRF link down report delay. | irf link-delay interval | The default IRF link down report delay is 4 seconds. |