Comware Based
1748169 Members
4086 Online
108758 Solutions
New Discussion

Re: backup command fails

 
MS_MikeJ
Occasional Advisor

backup command fails

I have 2 pairs of HP switchs configured in IRF's respectively: 2x 5900 and 2x 7510

 

On the 5900, I login via SSH and issue this command:

  backup startup-configuration to 10.30.200.69

 

and as expected the configuration is backed up to my tftp server.

 

The same command on my 7510 switch results in an error:

  "Backup Failed, tftp error."

 

This used to work, but every since I installed IMC it has stopped working, and I can't find a change in the configuration that is causing this.

 

Any insight would be appreciated!

 

MJ

4 REPLIES 4
Ivan_at_UAdm
Occasional Visitor

Re: backup command fails

do you have  any record in log files of tftp server?

 

MS_MikeJ
Occasional Advisor

Re: backup command fails when using VRF

I have some additional information:

 

to ping the TFTP server, i need to specify a vpn-instance interface. If i do that, a PING will succeed.

 

The following command also will work:

  tftp 10.30.200.69 put config.cfg vpn-instance MGMT_VPN

 

so my new, updated question is this:

 

is there a way to specify a default vpn-instance when doing tftp / management things?

Peter_Debruyne
Honored Contributor

Re: backup command fails when using VRF

Hi,

 

You cannot set a custom default vpn-instance (the default is the public routing table - which is the first vpn-instance).

The backup command is just a simpified tftp command, so it assumes the public routing table.

From IMC, I know it is possible under the ICC options to set a vpn-instance, so when IMC runs a backup script on the device, it will use that vpn-instance name to execute the backup, so that may help you.

 

Hope this helps,

 

Best regards,Peter

Peter_Debruyne
Honored Contributor

Re: backup command fails when using VRF

Hi,

 

I just managed to run this in the lab and it worked, so I can confirm the IMC vpn-instance configuration is working.

You need to configure it under the configuration center - options - vpn-instance.

 

Device configuration example (HP VSR)

 

ip vpn-instance mgmt
 route-distinguisher 65000:0
#
interface GigabitEthernet1/0
 ip binding vpn-instance mgmt
 ip address 10.0.1.3 255.255.255.0
#
acl number 2001 name mgmt
 rule 5 permit vpn-instance mgmt source 10.0.1.100 0
#
 snmp-agent community write private acl 2001
 snmp-agent community read public acl 2001

 snmp-agent target-host trap address udp-domain 10.0.1.100 vpn-instance mgmt params securityname public v2c
#
 telnet server enable
 telnet server acl 2001
#

 

Attached an image of the IMC ICC configuration.

 

Hope this helps,

best regards,Peter.