Flow-Control - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Description
Use the flow-interval command to configure the time interval for collecting interface statistics.
Use the undo flow-interval command to restore the default.
When you use the display interface interface-type interface-number command to display the
information of a port, the system performs statistical analysis on the traffic flow passing through the port
during the specified interval and displays the average rates in the interval. For example, if you set the
interval to 100 seconds, the displayed information is as follows:
Last 100 seconds input:
Last 100 seconds output:
Related command: display interface.
Example
# Set the interval for collecting interface statistics on Ethernet 1/0/1 to 100 seconds.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-interval 100

flow-control

Syntax
flow-control
undo flow-control
View
Ethernet port view
Parameter
None
Description
Use the flow-control command to enable flow control on the current Ethernet port.
Use the undo flow-control command to disable flow control on the port.
Suppose flow control is enabled on both the local and peer switches. When congestion occurs on the
local switch,
the local switch sends a message to notify the peer switch of stopping sending packets to itself or
reducing the sending rate temporarily,
the peer switch will stop sending packets to the local switch or reduce the sending rate temporarily when
it receives the message; and vice versa. By this way, packet loss is avoided and the network service
operates normally.
By default, flow control is disabled on a port.
Example
# Enable flow control on port Ethernet 1/0/1.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-control
0 packets/sec 0 bytes/sec
0 packets/sec 0 bytes/sec
1-17

Advertisement

Table of Contents
loading

Table of Contents