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 to perform statistics on the Ethernet1/0/1 port 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 the Ethernet1/0/1 port.
<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-16
Need help?
Do you have a question about the s3100 series and is the answer not in the manual?
Questions and answers