Network Management

 View Only

HPE IMC: Changing the Logging Server via Configuration Template

This thread has been viewed 7 times
  • 1.  HPE IMC: Changing the Logging Server via Configuration Template

    Posted May 12, 2025 04:56 AM

    Hello everyone,

    I'm using HPE Intelligent Management Center (IMC) and need to update the syslog server on one or more switches using Service > Configuration Templates. Here's what I have so far:

    • Template Name: logging-v2.cfg

    • Type: CLI-Script

    • Mode: Advanced

    config^|^#
    logging 10.2.13.10 udp 5514^|^(config)#
    logging 192.168.125.6 udp 5514^|^(config)#
    logging severity info^|^(config)#
    logging origin-id hostname^|^(config)#
    end^|^#
    

    My questions are:

    1. Line Delimiters
      Is using ^|^ the correct way to separate lines so that IMC sends each line as an individual CLI command?

    2. Removing Old Entries
      Do I need to include undo logging … or no logging … commands before adding the new entries to clear out any existing servers?

    3. Bulk Deployment
      What's the best practice for pushing this template to multiple switches at once? Can I simply select all target devices in the template wizard, or are there additional steps required?

    4. Verification
      Does IMC provide an automatic confirmation or report that the script was applied successfully, or do I have to log into each switch and verify the configuration manually?

    Thanks in advance for your guidance and examples!

    Best regards