Comware

 View Only
  • 1.  HP-2530

    Posted Dec 06, 2024 06:25 AM

    Hi

    I have HP-2530 where in I am not aware how to view the logs and how to configure date and time.

    Kindly help me in configuring date and time which can update automatically as well as how to configure logs so that they are pushed to central log server.

    Manish



  • 2.  RE: HP-2530

    Posted Dec 07, 2024 02:47 AM

    In your place, I'll try to find some documentation to become familiar with the platform. You can find original documentation at https://networkingsupport.hpe.com  A comprehensive set of documentations is in HPE Aruba Networking Documentation Portal. Also quick google search will bring you PDFs from different locations. Specifically what you are looking for 2530 is HERE. Specifically in Basic Operations Guide and Access Security Guide.

    If you are not keen to use cli, then just type menu and use menu options to configure basic switch operation. Or use GUI for the same.

    In short use command logging to send syslog messages to the external server.

    logging
    Syntax
    logging <IP-ADDR> [UDP 1024-49151 | TCP 1024-49151]
     filter <FILTER-NAME>
    Chapter 17 Traffic/Security Filters and Monitors 375
    no logging <IP-ADDR> [UDP 1024-49151 | TCP 1024-49151]
     filter <FILTER-NAME>
    Description
    Enables the configuration of a named filter to a specific server. The attributes associated with this defined
    filter will be applied to the chosen server.
    The no form of this command removes the associated filter from the designated server.

    For setup the time this really depend on what you are aiming for. If you have NTP server available or if you can use one of the public NTP servers, then configure NTP server and appropriate timezone and you are done. Time settings are discussed in Basic Operations Guide. Time Sync (ntp, sntp) is described in Management and Configuration Guide

     

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2024
    ------------------------------



  • 3.  RE: HP-2530

    Posted Dec 08, 2024 05:35 AM

    Hi,

    Thanks for the help

    My query is that how to view the logs in CLI, what you have mentioned is also of help but if I want to view current logs then how to view ?




  • 4.  RE: HP-2530

    Posted Dec 08, 2024 05:41 AM

    Hi Manish.

    To view logs use "show log" command.

    Or "show log -r" if you want log entries in descending order.

    All nicely explained in Basic Operations Guide.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2024
    ------------------------------



  • 5.  RE: HP-2530

    Posted Dec 08, 2024 06:36 AM

    Hi,

    Thanks a lot!

    Manish