R0106-HP MSR Router Series Interface Configuration Guide(V7)

8
Configuration procedure
To configure dampening 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. Enable dampening on
the interface.
dampening [ half-life reuse
suppress max-suppress-time ]
By default, interface dampening is
disabled on Ethernet interfaces.
Performing a loopback test on an Ethernet interface
If an Ethernet interface does not work correctly, you can perform a loopback test on it to identify the
problem. An Ethernet interface in a loopback test does not forward data traffic.
Only internal loopback tests are supported. In an internal loopback test, all on-chip functions related to
the Ethernet interface are tested.
Configuration restrictions and guidelines
On an administratively shut down Ethernet interface (displayed as in ADM or Administratively
DOWN state), you cannot perform an internal loopback test.
The speed, duplex, mdix-mode, and shutdown commands are not available during a loopback
test.
During a loopback test, the Ethernet interface operates in full duplex mode. When a loopback test
is complete, the port returns to its duplex setting.
Configuration procedure
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Ethernet interface view.
interface interface-type
interface-number
N/A
3. Perform a loopback test.
loopback internal
By default, no loopback test is
performed.
Configuring generic flow control on an Ethernet interface
To avoid packet drops on a link, you can enable generic flow control at both ends of the link. When
traffic congestion occurs at the receiving end, the receiving end sends a flow control (Pause) frame to ask
the sending end to suspend sending packets.
With TxRx mode generic flow control enabled, an interface can both send and receive flow control
frames. When congestion occurs, the interface sends a flow control frame to its peer. When the
interface receives a flow control frame from the peer, it suspends sending packets.
With Rx flow mode generic control enabled, an interface can receive flow control frames, but it
cannot send flow control frames. When the interface receives a flow control frame from its peer, it