09-02-2013 07:49 AM - edited 09-02-2013 08:03 AM
i have recently installed a new deployment of IMC v5.2, when I try to deploy a new task to change the configuration, the imc return to me with a error message (the device does not support the features).
I have tried with 5400zl and also with 2910...the "test" task is very simple, a creation of a new vlan, just to test this feature.
can you help me find where I'm wrong?
p.s. i'm currently able to backup correctly the configuration from IMC and if I try via CLI the task it work without problem. the switch choose to test are select in the menù "applicated device"
thank's in advance
09-18-2013 07:27 AM
I have just tried as a CLI script and finally it works correctly.
But the advantage of the segment is if I have a lot of row of configuration. As a CLI script I single cut&paste every single row and add it manually, with the segment it's a little bit more smart to copy&paste the entire configuration I want to upload.
Anyone has successfully used the segment method to upload a configuration?
thanks in advance
09-18-2013 12:22 PM
09-23-2013 06:40 AM
You're right, If I have only 3-4 rows is not a problem use the CLI script, but I mean, for example, if I want to upload 10-15 rows of new snmp configuration...
09-23-2013 02:49 PM
10-29-2013 03:53 AM
Here the reply of the HP support:
Further to my email from yesterday, I had another conversation with our PLM and they have confirmed that Segment configuration deployment from iMC to HP Procurve switches will not be supported due to HP Procurve agent limitation. This is as discussed during our call an email exchanged.
That said the only option is to use iMC CLI mode which I understand is not as straight forward as using Segment Configuration but provide a good alternative to achieve the same goals.
So unfortunately from our side there is nothing we can do to get the Segment configuration supported for the HP Procurve switches and suggest instead that we focus on how to use iMC CLI mode."
10-30-2013 08:58 PM
With Cisco devices, I can run something like this:
"copy tftp://X.X.X.X/newcfgsegment.cfg running-config", and it will _merge_ that configuration with the existing running config.
But I'm not sure if that's supported with Procurve. I see they offer the ability to copy a remote config to the local startup-config, but I'm not sure if it can copy a partial segment.
Might work with "copy tftp command-file" - that might do the trick. Would need to write an adapter that uses that command. Wouldn't work for systems that use SCP/SFTP though.
Cisco supports running "scp <cfg> user@device:running-config", but I'm not sure if that's supported with Procurve.
12-09-2013 01:10 AM
To enable this you should do "ip ssh filetransfer" command from CLI. This enables SCP and shuts down TFTP client in switch - "no tftp client" and "no tftp server" lines are added to the config file.
12-09-2013 07:10 AM
Can you try pushing a partial config via SCP? Put a scrap of config in a file, and push it with "scp <file> $email@example.com:/cfg/running-config"
From what I can see, it might be supported to push some config to the startup-config, but that might be an overwrite, not a merge.
Are you able to test it out?
12-09-2013 12:50 PM
I am not really sure on this one, but I think I remember some other difference between segment and cli:
when there is an execution error at one of the commands in a segment (invalid command or invalid command options) the system would try to "undo" the previous commands.
Since this "undo " principle does not apply to any other devices but Comware, the segment would only apply to Comware devices, all others would need to use the CLI.
I have had no time to test again, so if anyone can re-confirm this ?
12-10-2013 06:24 AM