F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

14
Ste
p
Command
Remarks
2. Enter Ethernet interface
or subinterface view.
Enter Ethernet interface view:
interface interface-type
interface-number
Enter Ethernet subinterface view:
interface interface-type
interface-number.subnumber
Use one of the commands.
3. Shut down the Ethernet
interface or subinterface.
shutdown
By default, Ethernet interfaces and
subinterfaces are up.
Configuring flow control on an Ethernet interface
To avoid packet drops on a link, you can enable 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 the flow-control command configured, an interface can both send and receive flow control
frames: When congested, the interface sends a flow control frame to its peer. Upon receiving a flow
control frame from the peer, the interface suspends sending packets.
With the flow-control receive enable command configured, an interface can receive, but not send
flow control frames. When the interface receives a flow control frame from its peer, it suspends
sending packets to the peer. When congested, the interface cannot send flow control frames to the
peer.
To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command
at one end, and the flow-control command at the other. To enable both ends of the link to handle traffic
congestion, configure the flow-control command at both ends.
To enable flow control on an Ethernet interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Ethernet interface view.
interface interface-type
interface-number
N/A
3. Enable TxRx flow control. flow-control
Disabled by default.
Configuring loopback testing on an Ethernet interface
If an Ethernet interface does not work normally, you can enable loopback testing on it to identify the
problem. An Ethernet interface in a loopback test does not forward data traffic.
Loopback testing has the following types:
Internal loopback testing—Tests all on-chip functions related to Ethernet interfaces.
External loopback testing—Tests hardware of Ethernet interfaces. To perform external loopback
testing on an Ethernet interface, connect a loopback plug to the Ethernet interface. The device sends
test packets out of the interface, which are expected to loop over the plug and back to the interface.
If the interface fails to receive any test packets, the hardware of the interface is faulty.
1. Configuration restrictions and guidelines
On an interface that is physically down, you can only perform internal loopback testing. On an
interface administratively shut down, you cannot perform internal or external loopback testing.
The speed, duplex, mdi, and shutdown commands are not available during loopback testing.