Hi,
I just wrote a little TFTP Server in Java, but I had to bind it to port number 2345 for permission reasons.
Now how can I tell my router that it has to use port number 2345 when using TFTP. For example, I use the following snmp command (using the CISCO-FLASH-MIB) to copy the running-config file from the router to my TFTP server :
snmpset -v 1 -c private_community 10.10.10.1
1.3.6.1.4.1.9.9.10.1.2.1.1.2.444 i 3
1.3.6.1.4.1.9.9.10.1.2.1.1.3.444 i 1
1.3.6.1.4.1.9.9.10.1.2.1.1.4.444 a 10.10.10.2
1.3.6.1.4.1.9.9.10.1.2.1.1.5.444 s system:running-config
1.3.6.1.4.1.9.9.10.1.2.1.1.6.444 s running-config
1.3.6.1.4.1.9.9.10.1.2.1.1.11.444 i 4
The problem is, I think, that it tries on standard tftp port 69, and not on port 2345. And unfortunatelly, 10.10.10.2:2345 does not work :( .
How can I tell in my snmp command to use port 2345 ? Or have I to change something else in the router config first ?
I really thank you.
Chris