Switch User Manual

clear port counters
7-6 Port Configuration
clear port counters
Usethiscommandtoclearportcounterstatisticsforaportorrangeofports.
Syntax
clear port counters [port-string]
Parameters
Defaults
Ifnoportstringisspecified,portcountersareclearedforallports.
Mode
Switchcommand,readwrite
Example
Thisexampleclearstheportcountersforge.3.1.
C3(rw)->clear port counters ge3.1
show port cablestatus
Usethiscommandtotroubleshootandlocatefaultsincoppercableconnectionsonaperport
basis.Thiscommandisonlyavailableonswitchplatformsthatprovide1GigabitEthernetRJ45
ports.
Syntax
show port cablestatus [port-string]
Parameters
Defaults
Ifnoportisspecified,informationaboutallportswillbedisplayed.
Mode
Switchcommand,readonly.
Usage
For1GigabitEthernetRJ45portsonly,thiscommandwilldisplaythestatusoftheport’scable
connection(describedinTable 73below),andtheapproximate lengthofthecableattachedtothe
port.Ifyourswitchplatformdoesnotsupport1GERJ45ports,thiscommandwillnotbe
available.
Ifnocableisattachedtotheport,thestatuswillbe“Open”andnolengthwillbeshown.Ifthe
portisnota1GERJ45port,thecommandwillreturnastatusof“N otSupported.”
portstring (Optional)Specifiestheportorrangeofportstoclearportcounter
statistics.
portstring (Optional)Specifiestheportorportstoshowstatusfor.