Configuring link-down event suppression
Follow these steps to enable an Ethernet interface to suppress link-down events:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface
interface-type
interface-number
—
Set a link-down event suppression
interval
link-delay
delay-time
Required
Link-down event suppression is
disabled by default.
Configuring link-up event suppression
Follow these steps to configure link-up event suppression on an Ethernet interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface
interface-type
interface-number
—
Set a link-up event suppression
interval
link-delay
delay-time
mode up
Required
Link-up event suppression is
disabled by default.
NOTE:
The
link-delay mode up
command and the
link-delay
command supersedes each other, and whichever is
configured last takes effect.
Configuring loopback testing on an Ethernet interface
You can perform loopback testing on an Ethernet interface to determine whether the interface functions
properly. The Ethernet interface cannot forward data packets during the testing. Loopback testing falls
into the following categories:
•
Internal loopback testing, which tests all on-chip functions related to Ethernet interfaces. As shown
in
, internal loopback testing is performed on Port 1. During internal loopback testing, the
interface sends a certain number of test packets, which are looped back to the interface over the
self-loop created on the switching chip.
Figure 2
Internal loopback testing
•
External loopback testing, which tests the hardware of Ethernet interfaces. As shown in
,
external loopback testing is performed on Port 1. To perform external loopback testing on an
5