TNPM/SNMP-Walk

From neil.tappsville.com
Jump to navigationJump to search

1. Login to the Dataload server that has access to the device/element

 ssh pvuser@sf1763

2. Source the Dataload environment:

 cd /appl/proviso/dataload
 . ./dataLoad.env

3. Use the simTool application, located in the $DLHOME/contribs directory:

 /appl/proviso/dataload/contribs/simTool walk <7510IPAddress> 1 -c <community> -V V2c -b > output.txt

Bobs your aunty...

If you don't have simTool installed try snmpwalk.

/appl/proviso/home/snmp-tools/usr/local/bin/snmpwalk -v 2c -c <community> <IP_ADDRESS>

And if you need to query a Non Standard SNMP Port. IE. 1161 in the case of the 8950 AAA

/appl/proviso/home/snmp-tools/usr/local/bin/snmpwalk -v 2c -c <community> <IP_ADDRESS>:<PORT>
eg
/appl/proviso/home/snmp-tools/usr/local/bin/snmpwalk -v 2c -c public 10.111.135.57:1161

to Check if MIB System Information is avaialable from the MIB

/appl/proviso/home/snmp-tools/usr/local/bin/snmpwalk -v 2c -c <community> <IP_ADDRESS> system

Remember:

- Quering the MIB Uses port 161 (UDP) by default, not TCP.

- Its not possible to check if the port is open by using telnet, ie telnet hostname 161. Telnet is TCP.

- Make sure the UDP Port 161 is open on the firewalls.