Network Management

 View Only
  • 1.  HPE IMC: How to backup Aruba CX configuration files as CLI?

    Posted Mar 31, 2025 07:50 AM

    Hello,
    IMC backups Aruba CX with Type JSON.
    Is it possible to change it to CLI?
    When manually backuping the files you can choose...:

    h2o-vw-eg-buero-01# copy running-config
      REMOTE_URL        URL syntax - sftp://USER@{IP|HOST}[:PORT]/FILE or
                        tftp://{IP|[IPv6]|HOST}[:PORT][;blocksize=VAL]/FILE or
                        scp://USER@{IP|HOST}[:PORT]/FILE
      STORAGE_URL       URL of syntax usb:/file
      checkpoint        Copy to a checkpoint
      external-storage  Copy to an external storage volume
      startup-config    Copy to startup configuration
    
    h2o-vw-eg-buero-01# copy running-config tftp://1.1.1.1/backup.cfg
      cli   CLI format
      json  JSON format
    
    h2o-vw-eg-buero-01# copy running-config tftp://1.1.1.1/backup.cfg cli
      vrf   VRF Configuration
      <cr>
    
    h2o-vw-eg-buero-01# copy running-config tftp://1.1.1.1/backup.cfg cli vrf
      VRF  Specify the VRF Name
    
    h2o-vw-eg-buero-01# copy running-config tftp://1.1.1.1/backup.cfg cli vrf default
      <cr>
    


    Thanks and kind regards'
    Robert



  • 2.  RE: HPE IMC: How to backup Aruba CX configuration files as CLI?
    Best Answer

    Posted Apr 04, 2025 02:46 AM
    Edited by r.grossmann May 21, 2025 03:28 AM

    Hi,

    Santanu has answered me via Direct Message and I want to share it with all of you.
    The solution has worked for me (I changed the SFTP Script). Do not bother the 8400, it works for 6100, 6200, 8325 and 8360, too ;-)

    You can change the ICC tftp scripts and replace the json with cli. 
    
    go to following locaiton and edit "backup_running_config_tftp.tcl" & backup_startup_config_tftp.tcl
    
           $\Program Files\iMC\server\conf\adapters\ICC\Aruba Networks\Aruba8400
    
    Change it to :  set my_cmd "copy running-config tftp://$TFTPServer/$TFTPFile cli

    Thanks to Santanu !

    Kind regards
    Robert




  • 3.  RE: HPE IMC: How to backup Aruba CX configuration files as CLI?

    Posted Jun 09, 2026 03:41 AM

    found another option for backup configs as cli format:
    https://support.hpe.com/hpesc/public/docDisplay?docId=sf000104386en_us&docLocale=en_US

    "

    From IMC 7.3 (E0710P06) onwards, IMC will take configuration backups with the 'json' parameter.

    For version IMC 7.3 (E0710P06), if you desire to continue taking cli backups,  a hot patch is available from support which introduces a new variable  in $imc/server/conf/adapters/ICC/Aruba Networks/Aruba8400/initialize.tcl:

    set cli_json  "cli"

    After IMC 7.3 (E0710P06), IMC upgrades will reset this variable to the default:

    set cli_json  "json"

    If the cli parameter is desired, please manually reconfigure it again after upgrade :

    set cli_json  "cli"
    "


    BUT, another question:
    Is it possible to backup as both format options? Like to backup as cli first and then do another backup job with json format?

    Thanks and kind regards

    Robert