R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Command Reference
20
link-delay
Use link-delay to set the physical state change suppression interval on an Ethernet interface.
Use undo link-delay to restore the default.
Syntax
link-delay delay-time [ mode { up | updown } ]
undo link-delay
Default
Each time the physical link of an interface goes up or comes down, the interface immediately reports the
change to the CPU.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
delay-time: Sets the physical state change suppression interval (in seconds) on the Ethernet interface. This
argument is in the range of 0 to 30. A value of 0 indicates that physical state changes are not
suppressed.
mode up: Suppresses the link-up events.
mode updown: Suppresses both the link-up and link-down events.
Usage guidelines
With the link-delay delay-time command configured:
• When the interface comes down, the link-down event is not reported to the CPU unless the interface
is still down when the suppression interval (delay-time) expires.
• When the interface goes up, the link-up event is immediately reported.
With the link-delay delay-time mode up command configured:
• When the interface goes up, the link-up event is not reported to the CPU unless the interface is still
up when the suppression interval (delay-time) expires.
• When the interface comes down, the link-down event is immediately reported.
With the link-delay delay-time mode updown command configured, when the interface comes down or
goes up, the link-down or link-up event is not reported to the CPU unless the interface is still down or up
when the suppression interval (delay-time) expires.
On a port, if you configure the link-delay command multiple times, the most recent configuration takes
effect.
Do not configure this command on a port with MSTP enabled.
Examples
# Set the link-down event suppression interval to 8 seconds on interface Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] link-delay 8










