NAT translations
Moderators: Developers, Moderators
- aleksander
- Posts: 10
- Joined: Thu May 13, 2004 8:59 am
NAT translations
Does anyone knows how to capture NAT translations on Cisco router with SNMP and insert it in to Cacti?
Thx
Aleksander
Thx
Aleksander
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
For the purpose of?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- aleksander
- Posts: 10
- Joined: Thu May 13, 2004 8:59 am
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Oh, so you just want a count.
I'm not sure if that information is exposed in the Cisco MIB for the routers.
What version of IOS and hardware is this router. I can try to do some research.
If anyone else know, please do tell...
I'm not sure if that information is exposed in the Cisco MIB for the routers.
What version of IOS and hardware is this router. I can try to do some research.
If anyone else know, please do tell...
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- aleksander
- Posts: 10
- Joined: Thu May 13, 2004 8:59 am
This is Soho91 router. IOS: soho91-k9oy6-mz.123-2.T8.bin
I give you also sh ver:
Cisco Internetwork Operating System Software
IOS (tm) SOHO91 Software (SOHO91-K9OY6-M), Version 12.3(2)T8, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 03-Sep-04 09:47 by eaarmas
Image text-base: 0x800131D8, data-base: 0x80A1A60C
ROM: System Bootstrap, Version 12.2(8r)YN, RELEASE SOFTWARE (fc1)
ROM: SOHO91 Software (SOHO91-K9OY6-M), Version 12.3(2)T8, RELEASE SOFTWARE (fc3)
HOME uptime is 3 days, 3 hours, 32 minutes
System returned to ROM by power-on
System restarted at 05:34:54 CET Tue Nov 16 2004
System image file is "flash:soho91-k9oy6-mz.123-2.T8.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
CISCO SOHO91 (MPC857DSL) processor (revision 0x200) with 29492K/3276K bytes of memory.
Processor board ID AMB07100744 (3120780318), with hardware revision 0000
CPU rev number 7
Bridging software.
2 Ethernet/IEEE 802.3 interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)
Configuration register is 0x2102
I give you also sh ver:
Cisco Internetwork Operating System Software
IOS (tm) SOHO91 Software (SOHO91-K9OY6-M), Version 12.3(2)T8, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 03-Sep-04 09:47 by eaarmas
Image text-base: 0x800131D8, data-base: 0x80A1A60C
ROM: System Bootstrap, Version 12.2(8r)YN, RELEASE SOFTWARE (fc1)
ROM: SOHO91 Software (SOHO91-K9OY6-M), Version 12.3(2)T8, RELEASE SOFTWARE (fc3)
HOME uptime is 3 days, 3 hours, 32 minutes
System returned to ROM by power-on
System restarted at 05:34:54 CET Tue Nov 16 2004
System image file is "flash:soho91-k9oy6-mz.123-2.T8.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
CISCO SOHO91 (MPC857DSL) processor (revision 0x200) with 29492K/3276K bytes of memory.
Processor board ID AMB07100744 (3120780318), with hardware revision 0000
CPU rev number 7
Bridging software.
2 Ethernet/IEEE 802.3 interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)
Configuration register is 0x2102
I bet the data is there via the IOS which can be accessed via telnet/ssh. Could take my ZyXEL NAT script/template and modify it to do the same for Cisco.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Interesting. One question though, why use PHP rather than Perl (with the telnet module)? Would one be faster than the other? I have several scripts that log into my cisco boxes, which I only hacked on (don't really know any language) to serve my purposes. If there's no serious perfomance loss I might borrow your way of doing this...BSOD2600 wrote:I bet the data is there via the IOS which can be accessed via telnet/ssh. Could take my ZyXEL NAT script/template and modify it to do the same for Cisco.
This is something i've got to do and after a brief look around the cisco site, came back with (have not tested this yet, but seems like it should work) :-
Object: alNatStatsActiveTranslations
OID: 1.3.6.1.4.1.3076.2.1.2.23.1.4
http://tools.cisco.com/Support/SNMP/do/ ... 1.2.23.1.4
From the above link, you can browse about to find any other stats you might want
Object: alNatStatsActiveTranslations
OID: 1.3.6.1.4.1.3076.2.1.2.23.1.4
http://tools.cisco.com/Support/SNMP/do/ ... 1.2.23.1.4
From the above link, you can browse about to find any other stats you might want
That's in the altigaMIB. I'm not sure what all devices support it, but I think the only things we have are VPN concentrators.
There's also an altigaRoot. but I can't find anything that supports it either - in my environment... <searching>
Another one is ciscoIetfNatMIB OID 1.3.6.1.4.1.9.10.77 - but again, not in our environment.
There's also an altigaRoot. but I can't find anything that supports it either - in my environment... <searching>
Another one is ciscoIetfNatMIB OID 1.3.6.1.4.1.9.10.77 - but again, not in our environment.
-
- Posts: 31
- Joined: Wed Jan 19, 2005 2:34 pm
Try this OID 1.3.6.1.4.1.9.10.77.1.2.3
http://tools.cisco.com/Support/SNMP/do/ ... icked=true
http://tools.cisco.com/Support/SNMP/do/ ... icked=true
Who is online
Users browsing this forum: No registered users and 2 guests