According to the Cisco MIB tool the Cisco 851 with recent Advanced security IOS should support the CISCO-IETF-NAT-MIB. However, a get-next SNMP query on the first oid from this MIB does not return a value form this MIB. Can anyone confirm the 851 supports or does not support this MIB?
If not, is there an other MIB that can be used to manage (retrieve/create/destroy) static NAT translations ?
I don't have telnet/console access at the moment, but I'm sure I'm running c851-advsecurity-12.3(8)YI2.
I've already had a look at the Cisco MIB Locator and according to that tool the CISCO-IETF-NAT-MIB should be supported.
I've tried: 18.104.22.168.22.214.171.124.77 (the MIB first oid) and also several of the tables inside this MIB as well. (126.96.36.199.188.8.131.52.184.108.40.206 = cnatConfStaticAddrMapTable)
The objects you are polling are not accessible objects
Try polling these to see if you get results:
I know the object is not accessible, but a get-next should always work. A get on the oid results in a NoSuchName error.
The same NoSuchName occurs on the cnatConfStaticAddrMaType and cnatConfStaticLocalAddrFrom oids as well. As these oids are columns in a table and thus require a table index, I've tried several but the router keeps returning NoSuchName.
My conclusion to this is that the router doesn't support this MIB! In contrary to what the Cisco MIB tool says. Or should I address the router differently, a community index for example (as with the dot1d MIB).
fyi a getnext on any of the mentioned oids returns the object with id "220.127.116.11.18.104.22.168.22.214.171.124.0".
Do you have the other dependacy MIB available that this requires?
Counter, Gauge, IpAddress, TimeTicks
We got a Cisco 871 a few months ago and I specifically asked for the advanced IP services software upgrade so that I could use this MIB.
If I query for sysORDescr I do see the following response from this router:
SNMPv2-MIB::sysORDescr.37 = STRING:
Agent capabilities for NAT-MIB
File name: ios
However, if I query for any of the MIB values with snmpwalk I get a message similar to the following:
SNMPv2-SMI::enterprises.126.96.36.199.188.8.131.52 = No Such Object available on this agent at this OID
Note the above OID is actually .184.108.40.206.220.127.116.11.18.104.22.168.1.2 and corresponds to cnatConfStaticAddrMapType. I get the same thing if I query for the MIB root (.22.214.171.124.126.96.36.199.77) - I think this means that none of the objects supposedly available are actually available.
I guess this mirrors what you already found last year. I am hoping that you or someone at Cisco has already figured this out and can point me in the right direction.
I am using 12.4(15)T. I have not tested with 12.2 or 12.3. I do see that the NAT mib is not talked about in the 12.4 release notes, so maybe I should downgrade.
we have a Cisco 877 with 12.4(15)T1 Adv IP service with the same problem.
It seems to support the NAT MIB when querying the "sysORDescr.37" but trying to retrieve the # of active nat entries I see only "OID not supported".
Using the MIB Locator tool, the release 12.4(11) seems to be the last one which supports the NAT mibs.