11
With this feature enabled on an interface, when the interface goes down, the system enables link
flapping detection. During the link flapping detection interval, if the number of detected flaps reaches
or exceeds the link flapping detection threshold, the system shuts down the interface.
Configuration restrictions and guidelines
This feature takes effect only if it is configured in both the system view and interface view.
The
dampening
,
link-delay
, and
port link-flap protect enable
commands are mutually exclusive
on an Ethernet interface.
To bring up an interface that has been shut down by link flapping protection, execute the
undo
shutdown
command.
In the
display interface
command output, the
Link-Flap DOWN
value of the
Current state
field
indicates that the interface has been shut down by link flapping protection.
Configuration procedure
To enable link flapping protection on an Ethernet interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable link flapping
protection globally.
link-flap protect enable
By default, link flapping protection
is disabled globally.
3.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A
4.
Enable link flapping
protection on the Ethernet
interface.
port link-flap protect enable
[
interval
interval
|
threshold
threshold
]
*
By default, link flapping protection
is disabled on an Ethernet
interface.
Configuring FEC
About FEC
The forward error correction (FEC) feature corrects packet errors to improve transmission quality. It
attaches correction information to a packet at the sending end, and corrects error codes generated
during transmission at the receiving end based on the correction information. You can set the FEC
mode as needed.
Restrictions and guidelines
This feature is supported only on 100-GE interfaces.
A 100-GE interface connected through a copper cable or installed with a 40-Gbps transceiver
module does not support FEC. If FEC has been configured on the interface, use the
undo port fec
mode
command to restore the default.
When the FEC mode is set to
auto
on an interface, the actual FEC mode of the interface depends on
the model of the transceiver module installed. To view the actual FEC mode, see the
FEC mode
field
in the
display interface
command output.
Make sure you set the same FEC mode for both interfaces of a link.
Procedure
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A