Controller Based WLANs

How to clear the interface counters on the Aruba controller ?

Environment : This article applies to all the versions of Aruba OS and all the controller models.

 

Interface counters can be cleared by the below command:
 
(Aruba)  #clear counters ?
fastethernet               Fastethernet IEEE 802.3
gigabitethernet         Gigabitethernet IEEE 802.3
tunnel                         Clear tunnel counters
vrrp                              Clear virtual router counters
 
We can clear the interface counters for fastethernet/gigabitethernet interfaces by mentioning the slot/port information. 
 
For tunnel and vrrp interfaces we can mention the "tunnel ID" and "Virtual Router ID" respectively and clear the interface counters.
 
Below is an example for clearing the interface counters on a "gigabitethernet 1/2" interface: 
 
(Aruba) #show interface gigabitethernet 1/2        ------------------------------Before clearing the interface counters
 
GE 1/2 is up, line protocol is up
Hardware is Gigabit Ethernet, address is 00:0B:86:6D:98:87 (bia 00:0B:86:6D:98:87)
Description: GE1/2 (RJ45 Connector)
Encapsulation ARPA, loopback not set
Configured: Duplex ( AUTO ), speed ( AUTO )
Negotiated: Duplex (Full), speed (1000 Mbps)
MTU 1500 bytes, BW is 1000 Mbit
Last clearing of "show interface" counters 6 day 2 hr 29 min 44 sec
link status last changed 5 day 4 hr 36 min 2 sec
    529468 packets input, 32686175 bytes
    Received 263118 broadcasts, 0 runts, 0 giants, 0 throttles
    1 input error bytes, 0 CRC, 0 frame
    263091 multicast, 266350 unicast
    3644 packets output, 1330369 bytes
    0 output errors bytes, 0 deferred
    0 collisions, 0 late collisions, 0 throttles
This port is TRUSTED
 
(Aruba) #clear counters gigabitethernet 1/2          ---------------------------Command to clear the interface counters 
 
(Aruba) #show interface gigabitethernet 1/2          ---------------------------After clearing the interface counters
 
GE 1/2 is up, line protocol is up
Hardware is Gigabit Ethernet, address is 00:0B:86:6D:98:87 (bia 00:0B:86:6D:98:87)
Description: GE1/2 (RJ45 Connector)
Encapsulation ARPA, loopback not set
Configured: Duplex ( AUTO ), speed ( AUTO )
Negotiated: Duplex (Full), speed (1000 Mbps)
MTU 1500 bytes, BW is 1000 Mbit
Last clearing of "show interface" counters 0 day 0 hr 0 min 3 sec
link status last changed 5 day 4 hr 36 min 27 sec
    13 packets input, 1057 bytes
    Received 1 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input error bytes, 0 CRC, 0 frame
    1 multicast, 12 unicast
    7 packets output, 946 bytes
    0 output errors bytes, 0 deferred
    0 collisions, 0 late collisions, 0 throttles
This port is TRUSTED
Version History
Revision #:
1 of 1
Last update:
‎11-04-2014 01:48 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.