Wired Intelligent Edge

 View Only
last person joined: 10 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

Interface Statistics

This thread has been viewed 16 times
  • 1.  Interface Statistics

    Posted Sep 07, 2022 10:59 AM
    I have had packet drops "CRC issues", I replaced the SFP and wanted to check if there is any new packet drops, I have cleared the int statistics and it's unfortunately session based, once I close the session and reopen it, it shows me the old statistics.
    I am new to HP IOS and was wondering if there is any command lines that clears and resets the int statistics permanently.


  • 2.  RE: Interface Statistics

    EMPLOYEE
    Posted Sep 07, 2022 11:28 AM
    8360-01# clear interface
    IFNAME Interface name (e.g. 1/1/1)
    IFRANGE PORT identifier range
    statistics Clear interface statistics (current session only)

    8360-01# clear interface statistics
    global Clear hardware interface statistics for all sessions
    <cr>

    Add global to the command

    ------------------------------
    DWan
    ------------------------------



  • 3.  RE: Interface Statistics

    Posted Sep 07, 2022 02:46 PM
    Thanks DWan, 
    When I do that it only clears it while the session is open, when I close and reopen the session the old statistics comes back, I was wondering if there is another CLI to clear it permanently even when I close the session I can come back another day and look at a new statistics for that interface.


  • 4.  RE: Interface Statistics

    EMPLOYEE
    Posted Sep 07, 2022 03:06 PM
    Seems to work as expected with new session when I add global


    8360-1# sh int 1/1/41 | b Statis
    Statistic RX TX Total
    ---------------- -------------------- -------------------- --------------------
    Packets 2226992 2226287 4453279
    Unicast 2225216 2224490 4449706
    Multicast 1673 1695 3368
    Broadcast 103 102 205
    Bytes 2771017482 2770826703 5541844185


    8360-1# clea int statistics global
    Warning: clearing statistics globally will be reflected in all CLI
    sessions, any agents running in the analytics engine, and any external
    systems monitoring switch statistics.

    Continue (y/n)? y






    Started a new SSH session, I don't see stats from original session
    ================================
    8360-1# sh int 1/1/41 | b Statis
    Statistic RX TX Total
    ---------------- -------------------- -------------------- --------------------
    Packets 23 22 45
    Unicast 9 8 17
    Multicast 13 13 26
    Broadcast 1 1 2

    ------------------------------
    DWan
    ------------------------------



  • 5.  RE: Interface Statistics

    Posted Sep 07, 2022 03:52 PM
    Thanks DWan,

    it worked with global.
    I appreciate your help.