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

Problem with configuration of Static routing via snmp

christoph.ehret
Level 1
Level 1

Hi,

I have to send my configuration via snmp by uploading the tftp to the router. I have no problem with ACL where I just send the different acls written in a file, also no problem with the configuration of the different Interfaces, but it does not work when I want to send the routing configurations. I have a file, with following 3 lines in it :

ip route 192.168.7.3 255.255.255.0 12.3.7.5

ip route 12.13.14.15 255.255.248.0 135.22.39.12 110

ip route 10.0.0.0 0.0.0.0 Null

When I send this to the router and have a look at the running-config, I cannot find anywhere any line about what I just sent. Can this happen, when there is a mistake in what I send ? Or is this not possible to do it like this ?

Thanks

Chris

1 Reply 1

nhabib
Level 9
Level 9

Try adding one more line to the file that simply contains the word: end

Also, add a 0 after the Null

In other words:

ip route 192.168.7.3 255.255.255.0 12.3.7.5

ip route 12.13.14.15 255.255.248.0 135.22.39.12 110

ip route 10.0.0.0 0.0.0.0 Null 0

end