RE: Confused with SNMP notification types

From: Wollmann, Bruno RQHR (Bruno.Wollmann@rqhealth.ca)
Date: Fri Dec 28 2007 - 12:28:25 ART


Hi Lim,

First you must enable the traps with the "snmp-server enable traps"
command.
Then you have to specify a host to send these traps to using the
"snmp-server host (ip address) (community string)" command. Adding
certain snmp trap types to the end of this commmand means that you can
specify what server gets what traps.

Example

Snmp-server enable traps bgp
Snmp-server enable traps eigrp
Snmp-server enable traps config
Snmp-server host 10.10.10.10 cisco123 bgp (gets only bgp traps)
Snmp-server host 10.10.10.11 cisco123 eigrp (gets only eigrp traps)
Snmp-server host 10.10.10.12 cisco123 (gets all enabled traps)

HTH,
Bruno

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Toh Soon, Lim
Sent: December 26, 2007 11:42 PM
To: ccielab@groupstudy.com
Subject: Confused with SNMP notification types

Hi Group,

What's the relationship between the notification types in the
"snmp-server enable traps" command and the notification types in the
"snmp-server host"
command?

Example scenarios:

Scenario 1
----------
snmp-server enable traps bgp
snmp-server host 10.10.10.10 cisco123 hsrp

Scenario 2
----------
snmp-server enable traps bgp
snmp-server host 10.10.10.10 cisco123 snmp

Scenario 3
----------
snmp-server enable traps bgp
snmp-server host 10.10.10.10 cisco123

In Scenario 1, no HSRP notification is sent to host 10.10.10.10 because
globally only BGP notification is enabled. Am I right?

I don't understand Scenario 2 :-)

In Scenario 3, the router will sent all notification types but is
limited to BGP. Am I right?

Thank you.

B.Rgds,
Lim TS



This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:32 ARST