hinterweltler1
MIS
I'm trying to script a backup for 3COM Switches (4400), so sending the configuration via tftp to a tftp server.
I see 2 possibilities to do that:
1. Send the login sequence and the commands to backup the configuration line by line over telnet to the switch.
I do that with Cisco Switches, no problem. I use netcat, you can configure delays between sending lines, which is a must. However, that doesn't work with 3COM, there seems to be a problem with the telnet negotiation between netcat and 3COM. Does someone know of a command line telnet client, where one can configure delays between sending lines and that works with 3COM? Has someone ever been able to script something to 3COM Switches?
2. Do like Network Supervisor (the 3COM management tool) does, and that is to send SNMP SET commands to the switch, which initiates the configuration backup. But what is the correct syntax there? Might be a little dangerous to just figure that out by myself from the traces. Anyone any experience with that?
Any help would be greatly appreciated.
I see 2 possibilities to do that:
1. Send the login sequence and the commands to backup the configuration line by line over telnet to the switch.
I do that with Cisco Switches, no problem. I use netcat, you can configure delays between sending lines, which is a must. However, that doesn't work with 3COM, there seems to be a problem with the telnet negotiation between netcat and 3COM. Does someone know of a command line telnet client, where one can configure delays between sending lines and that works with 3COM? Has someone ever been able to script something to 3COM Switches?
2. Do like Network Supervisor (the 3COM management tool) does, and that is to send SNMP SET commands to the switch, which initiates the configuration backup. But what is the correct syntax there? Might be a little dangerous to just figure that out by myself from the traces. Anyone any experience with that?
Any help would be greatly appreciated.