Allied Telesis Support Portal

How to look at switch port counters in AlliedWare Plus switches.

How to look at switch port counters in AlliedWare Plus switches.

There are a few basic commands that can be used to view status, configuration, errors, and packet counters for switchports on AW+ switches.  To clear counters and reset statistics to zero, use the command “clear port counter”, or “clear port counter port[x.x.x]”.
 
show interface port[x.x.x] status – View summary of connection status, speed and duplex.

AWPLUS#sho int port1.4.11 status
Port       Name               Status            Vlan Duplex   Speed Type
port1.4.11                    connected           10 a-full  a-1000 1000BASE-T

show interface port[x.x.x] – View status, all configuration parameters, packet throughput statistics
 
AWPLUS#sho int port1.4.11
Interface port1.4.11
  Scope: both
  Link is UP, administrative state is UP
  Thrash-limiting
    Status Not Detected, Action learn-disable, Timeout 1(s)
  Hardware is Ethernet, address is 0000.cd37.0fe5
  index 5411 metric 1 mru 1522
  current duplex full, current speed 1000, current polarity auto
  configured duplex auto, configured speed auto, configured polarity auto
  <UP,BROADCAST,RUNNING,MULTICAST>
  SNMP link-status traps: Disabled
    input packets 1748, bytes 185216, dropped 0, multicast packets 738
    output packets 501, bytes 195644, multicast packets 0 broadcast packets 0
  Time since last state change: 2 days 23:56:25
 
 
show platform port counters – View all packet and error counters (i.e. CRC’s, drops, collisions)
 
Port port2.7.12 Ethernet MAC counters:
 Combined receive/transmit packets by size (octets) counters:
  64                                                       0  512 - 1023                           0
  65 - 127                                             0  1024 - MaxPktSz                  0
  128 - 255                                           0
  256 - 511                                           0
 
 General Counters:
 Receive                                               Transmit
  Octets                                                0 Octets                                   0
  Pkts                                                    0 Pkts                                      0
  CRCErrors                                         0
  UnicastPkts                                        0 UnicastPkts                          0
  MulticastPkts                                     0  MulticastPkts                       0
  BroadcastPkts                                    0  BroadcastPkts                      0
  FlowCtrlFrms                                    0  FlowCtrlFrms                      0
  OversizePkts                                      0
  Fragments                                         0
  Jabbers                                              0
  UpsupportOpcode                              0
  UndersizePkts                                    0
                                                                        Collisions                                 0
                                                                        LateCollisions                          0
                                                                        ExcessivCollsns                       0
 
 Miscellaneous Counters:
  MAC TxErr                            0
  MAC RxErr                            0
  Drop Events                           0