clear port counters

clear port counters

Use this command to clear port counter statistics for a port or range of ports.

Syntax

clear port counters [port-string]

Parameters

port‐string

(Optional) Specifies the port or range of ports to clear port counter

 

statistics.

 

 

Defaults

If no port‐string is specified, port counters are cleared for all ports.

Mode

Switch command, read‐write

Example

This example clears the port counters for ge.3.1.

C3(rw)->clear port counters ge3.1

show port cablestatus

Use this command to troubleshoot and locate faults in copper cable connections on a per port basis. This command is only available on switch platforms that provide 1 Gigabit Ethernet RJ45 ports.

Syntax

show port cablestatus [port-string]

Parameters

port‐string

(Optional) Specifies the port or ports to show status for.

Defaults

If no port is specified, information about all ports will be displayed.

Mode

Switch command, read‐only.

Usage

For 1 Gigabit Ethernet RJ45 ports only, this command will display the status of the port’s cable connection (described in Table 7‐3 below), and the approximate length of the cable attached to the port. If your switch platform does not support 1 GE RJ45 ports, this command will not be available.

If no cable is attached to the port, the status will be “Open” and no length will be shown. If the port is not a 1GE RJ45 port, the command will return a status of “Not Supported.”

7-6 Port Configuration

Page 174
Image 174
Enterasys Networks 9034313-07 Clear port counters, Show port cablestatus, This example clears the port counters for ge.3.1