Wired

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

ArubaOS-CX read logs in CLI?

This thread has been viewed 23 times
  • 1.  ArubaOS-CX read logs in CLI?

    Posted Sep 12, 2022 09:44 AM
    I'm trying to find a way to access the swithlogs from the CLI but I'm unable to find any logical command.
    Can anyone please give me a hint?

    I noticed that you are able to see the logs in the WebGUI but it would be nice if you didn't have to go from one interface to another just like in the old ArubaOS.


  • 2.  RE: ArubaOS-CX read logs in CLI?
    Best Answer

    EMPLOYEE
    Posted Sep 12, 2022 10:25 AM
    Do you mean 'show logging'? I like the -r option to show most recent logs first.
    CX6300F# show logging
      -a    Display event logs from previous and current boots
      -c    Display event logs for specified event category
      -d    Display event logs for specified daemon
      -e    Display event logs for specified event IDs
      -i    Event logs for specified vsf member
      -m    Display event logs for specified vsf role
      -n    Display the specified number of event logs
      -r    Display event logs in reverse order (most recent first)
      -s    Display event logs as per specified severity
      <cr>​


    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: ArubaOS-CX read logs in CLI?

    Posted Sep 13, 2022 02:15 AM
    Thank you. That's probably the one. I had to send the CX6000 switch to the customer so I have to verify that when it's connected. I couldn't find the command in the list of the command-line interface guide at AOS-CX 10.10 Command-Line Interface Guide (arubanetworks.com) but saw now that it was a subitem of the Remote syslog commands.


  • 4.  RE: ArubaOS-CX read logs in CLI?

    EMPLOYEE
    Posted Sep 13, 2022 04:47 AM
    I found the same that 'show logging' is missing in the CLI Bank, and reported this to the documentation writers.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 5.  RE: ArubaOS-CX read logs in CLI?

    Posted Sep 13, 2022 05:04 AM
    Ok thanks. Can you also inform them that the link to Software Release Version 10.10 in the Command-Line Interface manual on Aruba 6000 Switch Series (arubanetworks.com) page points to the 10.09 version. 

    Event Log Message Reference Guide link to 10.10 is also affected by this.

    As a workaround you could just manually adjust the adress from 10.09 to 10.10 in the URL.