Configuring the port transition hold timer

Perform the following steps to configure the port transition hold timer:
  1. From privileged EXEC mode, access global configuration mode.
    device# configure terminal
  2. Access the interface configuration mode for the port that you want to configure.
    device(config)# interface Ethernet 0/2
  3. Configure the port transition hold timer.
    device(conf-if-eth-0/2)# delay-link-event 2 down 
    
    The polling iteration is 50 ms. In this example, 50 ms is multiplied by 2 and the sending of port down event is delayed by 100 ms. If the port is detected to be in the up state within the 100 ms, the delayed down event is cancelled.

    You can specify a multiplier value from 1 to 200 for delay times from 50 ms to 10 seconds and a port event of up, down, or both.

  4. Verify the configuration.
    device(conf-if-eth-0/2)# do show running-config internet ethernet 0/2
    interface Ethernet 0/2
     ...
     delay-link-event 2 down  
     no shutdown
    !
    

The following example shows the steps in the previous configuration.

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