Wired Intelligent Edge

 View Only
  • 1.  Aruba 6000 - job copy running-config tft - failed with invalid input

    Posted Dec 13, 2024 06:03 AM

    Hello,

    on Aruba 6000, i'm trying to configure a job to backup the running-config to a TFTP server.

    The command in terminal works. But when passing into the job, the job doesn't work with "invalid input".

    The definition and the schedule are :

     job Backup2Tftp
        desc Backup running configuration 2 Tftp
        10 cli copy running-config tftp://xxx.xxx.xxx.xxx/sw-xxxxxxxx.cfg cli vrf default
    schedule Backup2Tftp
        desc All day
        10 job Backup2Tftp
        trigger on 11:54 daily start 2024-12-13

    How to solve this ?

    Firmware version : 10.13.1040



  • 2.  RE: Aruba 6000 - job copy running-config tft - failed with invalid input

    Posted Dec 20, 2024 12:43 AM

    try to remove the "vrf default" and test again. 

    also is this switch being managed by Aruba Central?



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 3.  RE: Aruba 6000 - job copy running-config tft - failed with invalid input

    Posted Dec 20, 2024 05:35 AM

    Hello,

    have tried the job without the "vrf default" but the result is the same.

     show job

    Job Name : Backup2tftp

        Enabled                : Yes
        Description            : Backup running configuration 2 Tftp
        Status                 : waiting
        Number of commands     : 1
        Total execution count  : 1
        Failed execution count : 1

        Job execution history
        ---------------------

        Instance number        : 1
        Execution status       : failed
        Failure reason         : Invalid input
        Execution start time   : Fri Dec 20 11:30:04 2024
        Execution duration     : 3s

        Job CLI commands
        ----------------
        10 cli copy running-config tftp://....***/*********.cfg cli

    Effectively, switches are managed by "Aruba Central". 

    Thank you for your answer.




  • 4.  RE: Aruba 6000 - job copy running-config tft - failed with invalid input

    Posted Dec 20, 2024 07:51 AM

    Hi

    According to documentation, this is not allowed:

    https://www.arubanetworks.com/techdocs/AOS-CX/10.13/HTML/job_scheduler/Content/Chp_JobSched/JobSched_cmds/job.htm 

    These commands must not be used in a job: copy, repeat, show boot-history, show core-dump, show events, show job, show tech, sleep, terminal-monitor.

    So, this works as designed. Looks like you need to find another way to save your config.

    Regards, 
    Thomas