cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3423
Views
0
Helpful
0
Replies

How to modify the TFTP port number to be used for communication ?

christoph.ehret
Level 1
Level 1

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

0 Replies 0