I have been working for some time now on how to install a static IP route entry into a Cisco router via SNMP.
I had no access. Is it possible that Cisco routers do not support writable routing table via SNMP?
For example, the command
snmpset -v 2c -c xyz myciscoipaddr IP-FORWARD-MIB::ipCidrRouteTable.ipCidrRouteEntry.ipCidrRouteStatus.22.214.171.124.255.255.255.0.0.192.168.5.1 i 4
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: IP-FORWARD-MIB::ipCidrRouteStatus.126.96.36.199.255.255.255.0.0.192.168.5.1
I tried it on a Cisco 2600 and a Cisco 7600 as well, the same answer. SNMP-server communities and views as far as I know are configured OK.
Can anyone help in this? (Note that I know how to give a static route via CLI but I need SNMP for a specific purpose...)
Thanks in advance,