Configuring the link mode of an ethernet interface – H3C Technologies H3C S12500-X Series Switches User Manual
Page 16
5
Configuring physical state change suppression on an Ethernet
interface
The physical link state of an Ethernet interface is either up or down. Each time the physical link of a port
goes up or comes down, the interface immediately reports the change to the CPU. The CPU then notifies
the upper-layer protocol modules (such as routing and forwarding modules) of the change for guiding
packet forwarding, and automatically generates traps and logs, informing the user to take
corresponding actions.
To prevent frequent physical link flapping from affecting system performance, configure physical state
change suppression to suppress the reporting of physical link state changes. The system reports physical
layer changes only when the suppression interval expires.
To configure physical state change suppression on an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet
interface view.
interface interface-type
interface-number
N/A
3.
Set the link-down
event suppression
interval.
link-delay delay-time
By default, each time the physical link of a port
comes down, the interface immediately reports the
change to the CPU.
When this command is configured:
•
The link-down event is not reported to the CPU
until the interface is still down when the
suppression interval (delay-time) expires.
•
The link-up event is immediately reported when
the interface goes up.
4.
Set the link-up event
suppression interval.
link-delay delay-time mode
up
By default, each time the physical link of a port
goes up, the interface immediately reports the
change to the CPU.
When this command is configured:
•
The link-up event is not reported to the CPU until
the interface is still up when the suppression
interval (delay-time) expires.
•
The link-down event is immediately reported.
5.
Set the link-updown
event suppression
interval.
link-delay delay-time mode
updown
By default, each time the physical link of a port
goes up or comes down, the interface immediately
reports the change to the CPU.
When this command is configured, the link-up or
link-down event is not reported to the CPU until the
interface is still up or down when the suppression
interval (delay-time) expires.
The link-delay command and the link-delay mode command overwrite each other, and whichever is
configured last takes effect.
Do not configure physical state change suppression on a port with MSTP enabled.