04-12-2011 10:39 AM
Hello,
I'm trying to monitor nat stats using snmp in the newer IOS versions. I had it working pre 12.4(22)T, but now it seems as if the oid has changed.
2811#show ip nat statistics
Total active translations: 29 (0 static, 29 dynamic; 29 extended)
Peak translations: 43, occurred 1d13h ago
Outside interfaces:
FastEthernet0/1
Inside interfaces:
Loopback0, Virtual-Template1
Hits: 82385 Misses: 0
CEF Translated packets: 66829, CEF Punted packets: 3876
Expired translations: 5233
Dynamic mappings:
-- Inside Source
[Id: 1] access-list nat pool inet refcount 30
pool inet: netmask 255.255.255.192
start 111.111.111.110 end 111.111.111.111
type generic, total addresses 1, allocated 1 (100%), misses 0
Total doors: 1
Appl doors: 1
Normal doors: 0
Queued Packets: 0
The number i'm looking for is the Total active translations. If you try it on a router that has 12.4(20)T it will work, seems as if anything newer does not.
Dan.