Task 2— Exploring SNMP Capabilities by Using UCD-SNMP

About SNMP Commander

About SNMP Commander

The dial engineers at THEnet created a tool called SNMP Commander that:

Provides web-based access to UCD-SNMP CLI commands.

Builds web-based OID bookmarks, which enable you to go to OIDs without using a keyboard.

Aids the MIB exploration and NMS design tasks.

By using SNMP Commander and a web browser, you can:

Create URL links for the network staff and help desk.

Identify target OIDs you want to graph by using MRTG.

Inspect thresholds and events to monitor by using other NMS systems. The following two components work together to create SNMP Commander:

snmpcmds.dat—A comma separated variables file, which includes a list of SNMP CLI commands. This file is read by the snmpcmds.pl script.

For the source code, go to http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/dialnms/snmpdat.txt

snmpcmds.pl—A script that loads and reads a data file. You can use additional data files by creating multiple instances of the original script and altering the data file descriptor.

For the source code, go to http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/dialnms/snmppl.txt

Setting Up SNMP Commander

To set up SNMP Commander, follow these steps:

Step 1 From CCO, download snmpcmds.dat and snmpcmds.pl

Step 2 Customize the files for your environment. When you find useful OIDs, enter them in the snmpcmds.dat file and use the web-based form of the script to research the MIBs. The web tool functions like an SNMP OID bookmarker.

Step 3 Test SNMP Commander by using a web browser:

a.Select an SNMP command and OID.

b.Select an SNMP agent (Cisco IOS device).

c.Click Submit.

d.Inspect the program and query messages.

Basic Dial NMS Implementation Guide

"'

Page 49
Image 49
Cisco Systems Dial NMS manual About Snmp Commander, Setting Up Snmp Commander