Wired Intelligent Edge

 View Only
  • 1.  Job Scheduler copy command could not execute

    Posted Feb 13, 2023 09:32 AM

    hi team.

    i am using 6100 cx switch and try execute copy command in job scheduler for auto switch config backup to our tftp server. please see the below bold error. pleas

    SW# copy running-config tftp://------------------/test cli vrf default
    Copying configuration: [\]   % Total    % Received % Xferd  Average Speed   Time                                                                                            Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  1920    0     0  100  1920      0   1735  0:00:01  0:00:01 --:--:-- 18285
    100  1920    0     0  100  1920      0   1734  0:00:01  0:00:01 --:--:--  1734
    Copying configuration: [Success]

    SW(config-job-autobackup)# cli copy running-config tftp://10.10.50.75/test cli vrf default
    This command cannot be part of a job

    please recommend the useful method for auto backup config file. 



  • 2.  RE: Job Scheduler copy command could not execute

    Posted Feb 13, 2023 05:30 PM

    what version of CX are you running?



    ------------------------------
    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: Job Scheduler copy command could not execute

    Posted Feb 14, 2023 04:03 AM

    It looks like in 10.8 a range of commands were not permitted:

    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.

    But in a later manual that restriction isn't listed. It might just not be in the manual but a scan of release notes from 10.9 or 10.10 might provide an enhancement.

    On the latest release I could do this

    switch1(config-job-test_ian502)# show run cur
    job test_ian502
        10 cli copy running-config tftp://10.10.50.75/test cli vrf default