delay-link-event

Configures the port transition hold timer to set a delay in the sending of port up or down port events, or both, to Layer 2 protocols.

Syntax

delay-link-event multiple-iteration { down | up | both }
no delay-link-event

Command Default

The sending of an up or down port event is not delayed.

Parameters

multiple-iteration
Specifies the number of times that the polling iteration occurs. Enter an integer from 1 to 200.

The polling iteration is 50 ms. The delay time is the multiple-iteration times 50 ms.

both
Sets the delay for the port down and up events.
down
Sets the delay for the port down event.
up
Sets the delay for the port up event.

Modes

Interface Ethernet configuration mode.

Usage Guidelines

Use the no form of the command to remove the delay from the port events on the interface.

While link down events are reported immediately in the Syslog, their effect on higher level protocols such as OSPF is delayed according to how the hold timer is configured. When configured, the timer affects the physical link events. However, the resulting logical link events are also delayed.

Note

Note

All LAG member ports must have the same delayed-link-event configuration.
Note

Note

The delayed-link-event configuration is applicable only on a physical interface. It is not valid on a VLAN, VE, LAG, or loopback interfaces.
Note

Note

The port transition hold timer does not take effect when the interface is administratively shut down.

Examples

The following example shows the steps in the previous configuration.

device# configure terminal
device(config)# interface ethernet 4/2
device(conf-if-eth-4/2)# delay-link-event 2 down