Configuring Generic Flow Control On An Ethernet Interface - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

To do...
Enter system view
Enter Ethernet interface view
Set speed options for auto
negotiation
NOTE:
This function is only available for Gigabit Layer-2 copper (electrical) Ethernet interfaces that support speed auto
negotiation.
The speed and speed auto commands supersede each other, and whichever is configured last takes effect.

Configuring generic flow control on an Ethernet interface

An interface implements generic flow control by sending and receiving common pause frames. The
following generic flow control modes are available:
TxRx mode enables an interface to both send and receive common pause frames.
Rx mode enables an interface to receive but not send common pause frames.
In
Figure
2, when both Port A and Port B forward packets at 1000 Mbps, Port C is congested. To avoid
packet loss, enable flow control on Port A and Port B.
Figure 2 Flow control application scenario
Port A
1000Mbps
Switch A
Configure Port B to operate in TxRx mode, Port A in Rx mode.
When congestion occurs on Port C, Switch B buffers frames. When the amount of buffered frames
exceeds a certain value, Switch B sends a common pause frame out of Port B to ask Port A to
suspend sending packets. This pause frame also tells Port A for how long it is expected to pause.
Upon receiving the common pause frame from Port B, Port A suspends sending packets to Port B for
a period.
If congestion persists, Port B keeps sending common pause frames to Port A until the congestion
condition is removed.
Follow these steps to configure flow control on an interface:
To do...
Enter system view
Enter Ethernet interface view
Enable TxRx mode flow control
Enable Rx mode flow control
Use the command...
system-view
interface interface-type interface-
number
speed auto [ 10 | 100 | 1000 ] *
Port B
Port C
1000Mbps
100Mbps
Switch B
Use the command...
system-view
interface interface-type interface-
number
flow-control
flow-control receive enable
Port D
100Mbps
Switch C
4
Remarks
Optional
Remarks
Required
Use either command.
By default, flow control is
disabled on an Ethernet interface.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents