3 clear counters interface – PLANET WGSW-50040 User Manual

Page 93

Advertising
background image

1. Combo port is a conception involving the physical layer and the LLC sublayer of the

datalink layer. The status of a combo port will not affect any operation in the MAC

sublayer of the datalink layer and upper layers. If the bandwidth limit for a combo port

is 1Mbps, then this 1Mbps applies to the active port of this combo port, regardless of

the port type being copper or fiber.

2. If a combo port connects to another combo port, it is recommended for both parties to

use copper-forced or fiber-forced mode.

Run show interface under Admin Mode to check for the active port of a combo port .The

following result indicates if the active port for a combo port is the fiber cable port:

Hardware is Gigabit-combo, active is fiber.

Example:

Setting ports 1/21-24 to fiber-forced.

Switch(config)#interface ethernet 1/21-24

Switch(Config-Port-Range)#combo-forced-mode sfp-forced

3.1.3 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

Advertising