Download Print this page

Cisco Dial NMS Implementation Manual page 46

Cisco systems basic dial nms implementation guide

Advertisement

To install UCD-SNMP and download MIBs from the Cisco FTP site, follow these steps.
You can also download individual MIBs from
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
Go to http://ucd-snmp.ucdavis.edu
Download, compile, and install UCD-SNMP. In this case study, the UCD-SNMP commands are
installed in the /usr/local/bin directory.
From the Cisco FTP site, download the MIBs into the /usr/local/share/snmp/mibs directory on your
Solaris workstation. By using the following Unix commands, you can copy the entire bundled v1 MIB
tar file from ftp.cisco.com.
cd /usr/local/share/snmp/mibs
ftp ftp.cisco.com
cd /pub/mibs/v1
bin
get v1.tar.gz
exit
Decompress and untar the files in the /usr/local/share/snmp/mibs directory:
gzip -d v1.tar.gz
tar -xvf v1.tar
There are many MIBs in the tar file that you may not use. Regardless, Cisco
recommends you keep all the MIBs on file to support your evolving network
needs.
To explore the MIBs for a Cisco IOS device by using SNMP CLI commands, follow the steps in this
section. Poll OID variables by using the commands snmpget, snmpwalk, and snmptable.
This section assumes you already have a basic understanding of UCD-SNMP
and know how to use its CLI commands.
To determine the last restart reason for the router, enter the snmpget command and the relevant OID.
In the following example, the restart reason is "reload."
onionring:~$ snmpget travis-nas-01.the.net 5urf5h0p .1.3.6.1.4.1.9.2.1.2.0
Counter32 (is a reserved word): At line 6 in /usr/local/share/snmp/mibs/SNMPv2-S
MI-V1SMI.my
Gauge32 (is a reserved word): At line 7 in /usr/local/share/snmp/mibs/SNMPv2-SMI
-V1SMI.my
Integer32 (is a reserved word): At line 8 in /usr/local/share/snmp/mibs/SNMPv2-S
MI-V1SMI.my
Did not find 'mib-2' in module RFC1213-MIB (/usr/local/share/snmp/mibs/IANAifTyp
e-MIB-V1SMI.my)

Advertisement

loading