Wireless Access

 View Only
last person joined: 18 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Aruba Controller 6.5 SCP connection

This thread has been viewed 24 times
  • 1.  Aruba Controller 6.5 SCP connection

    Posted Jan 07, 2022 04:18 AM
    Hi,

    I have been using Debian 11 for management. I want to get config backups from the controllers. Bu SCP is not working. 

    I have tried scp with DEBUG options (scp -vvv ) but could not find any valueable info. Also controller doesnot show any info abous SCP. I am sure of that is not  password problem and also file exists. I can show that SCP can loginto and wanted file but then nothing happens.

    I can SSH to the controller, also. I tried from Debian 9.x version. No luck. It doesnot work either.

    Last of all, I tried to copy local file to SCP, also. On debian 9.x, it can copy the file but on debian 11, it gave "Unable to negotiate a key exchange" error message.

    # show ver
    Aruba Operating System Software.
    ArubaOS (MODEL: Aruba7240XM), Version 6.5.4.13
    Website: http://www.arubanetworks.com
    (c) Copyright 2019 Hewlett Packard Enterprise Development LP.
    Compiled on 2019-06-21 at 21:35:27 UTC (build 71051) by p4build

    ROM: System Bootstrap, Version CPBoot 1.2.9.0 (build 56553)
    Built: 2016-09-22 04:51:38
    Built by: p4build@re_client_56553


    Switch uptime is 83 days 15 hours 44 minutes 5 seconds
    Reboot Cause: User reboot (Intent:cause:register 78:86:50:2)
    Supervisor Card
    Processor (XLP432 Rev B2 (Secure Boot) , 1500 MHz) with 15542M bytes of memory.
    32K bytes of non-volatile configuration memory.
    15488M bytes of Supervisor Card system flash.

    ​If anyone has any recommendation, it would be great. 

    By the way, it is working with 8.x MM's.

    Command to send:
    $ scp -vvvv admin@10.0.0.1:flashbackup.tar.gz f.tar.gz



    Thanks in adv.

    ------------------------------
    husnu demir
    ------------------------------


  • 2.  RE: Aruba Controller 6.5 SCP connection

    EMPLOYEE
    Posted Jan 07, 2022 11:42 AM
    I don't have an AOS6.x controller to check at the moment, but could try the following:

    "show scp" - to see if the SCP service is running
    "service scp" - from the config context, to enable scp if not otherwise enabled

    ------------------------------
    Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    ------------------------------



  • 3.  RE: Aruba Controller 6.5 SCP connection

    Posted Jan 10, 2022 12:22 AM
    Hi,

    These commands are only for 8.x. No such commands for AOS6.x.

    ------------------------------
    husnu demir
    ------------------------------



  • 4.  RE: Aruba Controller 6.5 SCP connection

    MVP
    Posted Jan 10, 2022 07:50 AM
    We are using scp to a 6.5.17 controller tor backups. We actually set it up for the controller to scp to our server. Here is the line from our script. Hopefully thast can give you some hints to try.  We are using expect to script our backups. Remove ">/dev/null? for troubleshooting to see the expect output.

       $expect -c "
       set timeout 150
       spawn $ssh $aos_username@$controllerFul
       expect -re \"ssword.*\"
       send \"$aos_pw\r\"
       expect -re \"$controllerName.*\"
       send \"backup flash\r\"
       expect -re \"$controllerName.*\"
       send \"copy flash: flashbackup.tar.gz scp: $backupserver $scp_username $backupdir/$controllerName\_flash\_$datestamp.tar.gz\r\"
       expect -re \"ssword.*\"
       send \"$scp_pw\r\"
       expect -re \"$controllerName.*\"
       send \"exit\r\"
       interact
       " > /dev/null
    
    ​



    ------------------------------
    Bruce Osborne ACCP ACMP
    Liberty University

    The views expressed here are my personal views and not those of my employer
    ------------------------------



  • 5.  RE: Aruba Controller 6.5 SCP connection

    Posted Jan 11, 2022 01:02 AM
    This is a good point. We have been using expect. I have other systems and want to use one script for all. I will try with that. 

    By the way we are moving to 8.x and SCP is working  there. Most probably in a few weeks.

    Thanks.


    ------------------------------
    husnu demir
    ------------------------------



  • 6.  RE: Aruba Controller 6.5 SCP connection

    MVP
    Posted Jan 11, 2022 07:11 AM
    I actually use the same script for AOS 8. i backup out physical MMs & MDs. We have sometimes used an MD backup when we needed to RMA a controller.

    ------------------------------
    Bruce Osborne ACCP ACMP
    Liberty University

    The views expressed here are my personal views and not those of my employer
    ------------------------------