Network Management

 View Only
last person joined: yesterday 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

Remote configuration of a switch through the network

This thread has been viewed 19 times
  • 1.  Remote configuration of a switch through the network

    Posted Jan 21, 2022 01:43 AM
    Hello,
    I have a factory configured HP 2626 switch with an initial IP assigned by DHCP. I am connected to it by Telnet and I wanted to dump the configuration, but as soon as I enter some network parameter, I logically lose the connection. I also have it added in IMC but I don't know how to get a complete configuration before losing the connection, any ideas?
    Thanks a lot.


    ------------------------------
    Nacho Marin
    ------------------------------


  • 2.  RE: Remote configuration of a switch through the network

    MVP GURU
    Posted Jan 21, 2022 09:20 AM
    You could try creating the config on a separate/lab switch. and then backup the config and restore it on the remote switch:

    1. Make sure "ip ssh filetransfer" is enabled on the switch
    2. On the server copying the backup, run the following to use scp (using SSH port 22) to copy the configuration.
    pscp -scp -l <USERNAME> -pw <PASSWORD> -2 <IP OF SWITCH>:cfg/startup-config c:\switchconfig
    ### "c:\switchconfig" can be changed to a directory of your choosing
    3. Restore via SFTP to the switch from that file.

    ------------------------------
    Dustin Burns

    Lead Mobility Engineer @Worldcom Exchange, Inc.

    ACCX 1271| ACMX 509| ACSP | ACDA | MVP Guru 2022
    If my post was useful accept solution and/or give kudos
    ------------------------------



  • 3.  RE: Remote configuration of a switch through the network

    Posted Apr 06, 2022 07:05 AM
    I have found the solution, use the "menu" command.
    You can configure the network parameters in this way, but as soon as you press "save" you will no longer be able to connect to it until it is in the network to which it will belong.
    Greetings.


    ------------------------------
    Nacho Marin
    ------------------------------