AOS-CX Switch Simulator

 View Only

Copy to startup config

This thread has been viewed 15 times
  • 1.  Copy to startup config

    Posted Mar 06, 2025 08:48 AM

    Hi, does anyone have success copy config from tftp to startup-config on the OVA?

     When I tries:

    copy startup-config tftp://172.16.3.15/z18-spine-1.cli cli vrf mgmt
    copy tftp://172.16.3.15/z18-spine-1.cli startup-config vrf mgmt

    I get the following in the log: (reverse listing)

    z18-spine-1# show events -r
    ---------------------------------------------------
    Event logs from current boot
    ---------------------------------------------------
    2025-03-06T14:38:46.890436+01:00 z18-spine-1 hpe-config[1241660]: Event|6802|LOG_ERR|AMM|-|Error while copying configs. Error: Config Operation failed | state=failed failure_state=unknown
    2025-03-06T14:38:46.884239+01:00 z18-spine-1 hpe-config[2848]: Event|6802|LOG_ERR|AMM|-|Error while copying configs. Error: exit status 5
    2025-03-06T14:38:42.967819+01:00 z18-spine-1 hpe-config[2848]: Event|6801|LOG_INFO|AMM|-|Copying configs from: URL: tftp://172.16.3.15/z18-spine-1.cli, using vrf: mgmt to: startup-config
    2025-03-06T14:38:41.946813+01:00 z18-spine-1 hpe-config[1241660]: Event|6805|LOG_INFO|AMM|-|Information while copying configs. Info: Config Operation Received | params=(UrlStartup tftp://172.16.3.15/z18-spine-1.cli VRF_1 mgmt)
    2025-03-06T14:37:57.702773+01:00 z18-spine-1 hpe-config[2848]: Event|6801|LOG_INFO|AMM|-|Copying configs from: startup-config to: URL: tftp://172.16.3.15/z18-spine-1.cli, in format: cli, using vrf: mgmt
    2025-03-06T14:37:56.857280+01:00 z18-spine-1 hpe-config[1241536]: Event|6805|LOG_INFO|AMM|-|Information while copying configs. Info: Config Operation Received | params=(StartupUrl tftp://172.16.3.15/z18-spine-1.cli cli VRF_1 mgmt)
    

    Do anyone know what the exit status 5 is? 
    Support for this would make it much easier to create good templates for automation.



    ------------------------------
    Arne Opdal
    ------------------------------