The mib database is installed on the SNMP manager (the host), as part of the
snmp application running on that system.  The router sends numeric strings
(traps) to the listening SNMP manager indicating events have happened like a
power supply failure or a wan link down.

When the SNMP manager receives one of these numeric strings it looks through
the mib database and resolves the meaning of the trap.  If the trap is not
in the mib then the manager won't be able to resolve the trap and will
usually report just the numbers in an snmp log or similar.  If the trap is
in the mib, it will report something a little more meaningful.

Here's a trap for an ISDN link going inactive

SNMP 10.10.10.254 Trap(linkDown) ifIndex.5=5 ifDescr.5=BRI1:1 ifType.5=23
cisco.2.2.1.1.20.5=down

Here's a trap for a power supply being turned off on a Catalyst 6509, where
the trap is not in the mib database.

SNMP 10.10.12.12 Trap(cisco.5-6.5) cisco.5.1.2.13.0=1 cisco.5.1.2.11.0=2
cisco.5.1.2.12.0=1 cisco.5.1.2.9.0=2 cisco.5.1.2.10.0=0
cisco.5.1.3.1.1.10.1=2 cisco.5.1.3.1.1.11.1=0 cisco.5.1.2.4.0=2
cisco.5.1.2.5.0=0 cisco.5.1.2.7.0=4 cisco.5.1.2.8.0=32

See how it just says cisco followed by some numbers.  The application was
able to resolve the first part of the trap to the private enterprise family
of traps for Cisco but it didn't know what the rest of the numbers mean.
The solution is to get the mib for Catalyst 6509 and import it into the
existing mib for the SNMP application.

Hope this is helpful
Dave H

-----Original Message-----
From: Amit Gupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 6:47 AM
To: [EMAIL PROTECTED]
Subject: SNMP Agent on Router


Hi All,

I need some help for making the router SNMP enabled. I
am  actually testing it out SNMP Manager Utility.
I am using the following commands on the router

snmp-server community hppublic RO
snmp-server enable traps snmp
snmp-server host x.x.x.x traps hppublic

where x.x.x.x is the IP address of the machine on
which the SNMP Manager is running.

Do I have to specify a file or directory for which
SNMP Manager looks for ?
How will the SNMP Manager query the MIB database ?


Thanks & Regards

Amit



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_________________________________
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to