15
flow-control
Syntax
flow-control
undo flow-control
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use the
flow-control
command to enable flow control on an Ethernet interface.
Use the
undo flow-control
command to disable flow control on the Ethernet interface.
By default, generic flow control on an Ethernet interface is disabled.
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.
To implement flow control on a link, you must enable the generic flow control function at both ends of the
link.
Examples
# Enable flow control on interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] flow-control
flow-interval
Syntax
flow-interval
interval
undo flow-interval
View
Ethernet interface view
Default level
2: System level
Parameters
interval
: Sets a statistics polling interval, in seconds. It ranges from 5 to 300 and must be a multiple of
5. The default value is 300s.