Hi,
I finished the configuration of an A5120 JG236a how can I copy the configuration to another same switch?
Thanks
Hi @grenzo !
First save current configuration with "save safely force", then check what is the file name with "display startup" (look for "Current startup saved-configuration file"). Then backup the file to remote tfp server with "backup startup-configuration to" command. On the second switch use "restore startup-configuration from" command to download the file from the TFTP server and then set it as the main startup-configuration with "startup saved-configuration <cfgfile> main" command. Then reboot the switch.

Hi,
Sorry but from CLI or browser ?
in cli mode it does not recognize the backup command....
where am i wrong?
Share the 'display version' output, please and I'll check if this command exists in the version your switch is running.

<HP>display version
HPE Comware Platform Software
Comware Software, Version 5.20.99, Release 2222P11
Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP
HP A5120-24G-PoE+ EI Switch with 2 Interface Slots uptime is 0 week, 0 day, 3 hours, 29 minutes
HP A5120-24G-PoE+ EI Switch with 2 Interface Slots with 1 Processor
128M bytes SDRAM
16384K bytes Flash Memory
Hardware Version is REV.B
CPLD Version is 007
Bootrom Version is 621
[SubSlot 0] 24GE+4SFP+POE Plus Hardware Version is REV.B
[SubSlot 1] 2 SFP+ Hardware Version is REV.A
<HP>
This command exists on older version 2222P01, so it must be there in yours 2222P11 too:
<HP>dis version
HPE Comware Platform Software
Comware Software, Version 5.20.99, Release 2222P01
Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP
HP A5120-48G-PoE+ EI Switch with 2 Interface Slots uptime is 38 weeks, 0 day, 2 hours, 27 minutes
HP A5120-48G-PoE+ EI Switch with 2 Interface Slots with 1 Processor
128M bytes SDRAM
16384K bytes Flash Memory
Hardware Version is REV.B
CPLD Version is 007
Bootrom Version is 621
[SubSlot 0] 48GE+4SFP+POE Plus Hardware Version is REV.B
<HP>back
<HP>backup ?
startup-configuration Startup configuration
<HP>backup
Pay attention that this command is available only in the user-view (when cli prompt shows less than and more than symbols '<' and '>').
What do you see if you type 'backup' with space after the command and hit '?' key?

OK All right...
Now I should remove the fixed Ip that I have set and enable the DHCP service, how to do it?
Thanks
The fastest way is to read documentation. For example, in your case this guide should help - https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=emr_na-c03996979 "Configuring DHCP Client" section.

Sorry I read but I didn't understand.
I did:
[HP]interface Vlan-interface1
[HP-Vlan-interface1]ip address dhcp-alloc
[HP-Vlan-interface1]
..
[HP]display current-configuration interface vlan
#
interface Vlan-interface1
ip address dhcp-alloc
#
return
[HP]
------
how do i see if it got the IP?
In order to check IP information of an interface Vlan-interface1 you can use following command:
display ip interface vlan1
