Dynamic add/remove routes in the agent via SNMP
"Francisco Rodriguez" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Lancaster Univeristy |
| Message-ID | <[email protected]> |
Hi, I have been playing for a bit with Net-SNMP agent trying to find out a way to modify via SNMP the routing table of a Linux Router. I have first try to delete a routing entry by entering the command: "snmpset -v 2c -c route-server 10.100.100.2 ip.ipRouteTable.ipRouteEntry.ipRouteType.192.168.14.0 i 2" Error in packet. Reason: notWritable (That object does not support Modification) Failed object: RFC1213-MIB::ipRouteType.192.168.14.0 without having any change on the client (10.100.100.2). After looking at this output, I went through the archives of net-snmp mailing list and realized that dynamic routes configuration is not supported in the client agent using the OID ipRouteTable. Also, I read that this might be supported using ipCidrRouteTable or inetCidrRouteTable OID. Is by any chance dynamic route add/remove supported in net-snmp agent using the ipCidrRouteTable or inetCidrRouteTable? And if so, is there any example for doing so using snmpset? Cheers, Francisco ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users