144
4.2.1.2.2 clear counters
Command: clear counters [{ethernet <interface-list> | vlan <vlan-id> | port-channel
<port-channel-number> | <interface-name>}]
Function:
Clears the statistics of the specified port.
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 port 1/1.
Switch#clear counters ethernet 1/1
4.2.1.2.3 description
Command:description <string>
no description
Function:
Set name for specified port; the “
no description
” command cancels this
configuration.
Parameter:<string>
is a character string, which should not exceeds 32 characters
Command Mode:
Port Mode
Default:
No port name by default
Usage Guide:
This command is for helping the use manage switches, such as the user
assign names according to the port application, e.g. financial as the name of 1/1-2 ports
which is used by financial department, engineering as the name of 1/9 ports which
belongs to the engineering department, while the name of 1/12 ports is assigned with
Server, which is because they connected to the server. In this way the port distribution
state will be brought to the table.
Example:
Specify the name of 1/1-2 port as financial
Switch(Config)#interface ethernet 1/1-2
Switch(Config-If-Port-Range)#description financial
4.2.1.2.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:
Interface Mode
Default:
Port flow control is disabled by default.
Usage Guide:
After the flow control function is enabled, the port will notify the sending