Comware Based
1753516 Members
5078 Online
108795 Solutions
New Discussion юеВ

transport configuration A5120

 
grenzo
Frequent Advisor

transport configuration A5120

Hi,

I finished the configuration of an A5120 JG236a how can I copy the configuration to another same switch?

Thanks

9 REPLIES 9
Ivan_B
HPE Pro

Re: transport configuration A5120

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.

I am an HPE employee

Accept or Kudo

grenzo
Frequent Advisor

Re: transport configuration A5120

Hi,

Sorry but from CLI or browser ?

in cli mode it does not recognize the backup command....

where am i wrong?

 

Ivan_B
HPE Pro

Re: transport configuration A5120

Share the 'display version' output, please and I'll check if this command exists in the version your switch is running.

I am an HPE employee

Accept or Kudo

grenzo
Frequent Advisor

Re: transport configuration A5120

<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>

Ivan_B
HPE Pro

Re: transport configuration A5120

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?

 

I am an HPE employee

Accept or Kudo

grenzo
Frequent Advisor

Re: transport configuration A5120

OK All right...

Now I should remove the fixed Ip that I have set and enable the DHCP service, how to do it?

Thanks

Ivan_B
HPE Pro

Re: transport configuration A5120

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.

I am an HPE employee

Accept or Kudo

grenzo
Frequent Advisor

Re: transport configuration A5120

 

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?

Ivan_B
HPE Pro

Re: transport configuration A5120

In order to check IP information of an interface Vlan-interface1 you can use following command:

display ip interface vlan1

 

I am an HPE employee

Accept or Kudo