mac
89
Parameters: <interface-list> stands for the Ethernet port number; <vlan-id> stands for
the VLAN interface number; <port-channel-number> for trunk interface number;
<interface-name> for interface name, such as port-channel 1.
Command mode: Admin Mode.
Default: Port statistics are not cleared by default.
Usage Guide: If no port is specified, then statistics of all ports will be cleared.
Example: Clearing the statistics for Ethernet port1/1.
Switch#clear counters interface ethernet 1/1
3.1.4 flow control
Command: flow control
no flow control
Function: Enables the flow control function for the port: the ―no flow control‖ command
disables the flow control function for the port.
Command mode: Port Mode.
Default: Port flow control is disabled by default.
Usage Guide: After the flow control function is enabled, the port will notify the sending
device to slow down the sending speed to prevent packet loss when traffic received
exceeds the capacity of port cache. Ports support IEEE802.3X flow control; the ports work
in half-duplex mode, supporting back-pressure flow control. If flow control results in
serious HOL, the switch will automatically start HOL control (discarding some packets in
the COS queue that may result in HOL) to prevent drastic degradation of network
performance.
Note: Port flow control function is not recommended unless the users need a slow speed,
low performance network with low packet loss. Flow control will not work between different
cards in the switch. When enable the port flow control function, speed and duplex mode of
both ends should be the same.
Example: Enabling the flow control function in ports 1/1-8.
Switch(config)#interface ethernet 1/1-8
Switch(Config-If-Port-Range)#flow control
3.1.5 interface ethernet
Command: interface ethernet <interface-list>
Function: Enters Ethernet Port Mode from Global Mode.
Parameters: <interface-list> stands for port number.
Command mode: Global Mode










