
22
By default, Rx flow control is disabled on Ethernet interfaces.
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 traffic congestion occurs on the interface, it 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.
Examples
# Enable Rx mode generic flow control on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] flow-control receive enable
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.
Description
Use the
flow-interval
command to set the interface statistics polling interval.
Use the
undo flow-interval
command to restore the default interval.
The default interface statistics polling interval depends on your device model.
Examples
# Set the statistics polling interval to 100 seconds on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] flow-interval 100
group-member
Syntax
group-member
interface-list
undo group-member
interface-list