2 clear counters interface, 3 description, 2 clear counters interface -139 – PLANET WGSW-52040 User Manual

Page 140: 3 description -139

Advertising
background image

4-139

4.1.2 clear counters interface

Command:

clear counters [interface {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 port1/1.

Switch#clear counters interface ethernet 1/1

4.1.3 description

Command:

description <string>

no description

Function:

Set name for specified port; the no command cancels this configuration.

Parameter:

<string> is a character string, which should not exceeds 200 characters.

Advertising