From: Yasser Abdullah (yasser@alharbitelecom.com)
Date: Fri Apr 23 2004 - 08:35:59 GMT-3
Yes, it is actually a term used to describe traps or informs.
No, the type of traps doesn't need to be specified twice, at least not
all. In your example, bgp, config and tty were specified in the host
command. However, this command alone doesn't automatically send traps.
You need to activate the sending of traps by issuing the snmp-server
enable traps at least for one of the traps types.
In the example below, you could have done with only one snmp-server
enable traps commands.
snmp-server host 10.10.10.10 public config bgp tty
snmp-server enable traps config
In this case, all hosts will get the config traps, but only host
10.10.10.10 will get the bgp and tty traps.
Brgds,
Yasser
-----Original Message-----
From: ccie2be [mailto:ccie2be@nyc.rr.com]
Sent: Friday, April 23, 2004 2:12 PM
To: Yasser Abdullah; 'Tim Last'; 'Group Study'
Subject: Re: Specifying SNMP Traps
Yasser,
Thanks for getting back to me.
I'm still a bit confused.
What's the difference between a "Notification" and a "Trap"?
Aren't they the different names for the same thing?
Also, does the type of trap have to be specified twice,
once in the snmp-server host command and
again, in the snmp-server enable trap command?
It's confusing because in the example below, both BGP and CONFIG were
specified twice,
but TTY was only specified once - in the snmp-server host command.
Why is TTY only specified once but BGP and CONFIG is specified twice?
It doesn't make sense to me.
Thanks in advance, Tim
----- Original Message -----
From: "Yasser Abdullah" <yasser@alharbitelecom.com>
To: "'Tim Last'" <packtmon@yahoo.com>; "'Group Study'"
<ccielab@groupstudy.com>
Sent: Friday, April 23, 2004 4:51 AM
Subject: RE: Specifying SNMP Traps
> The first command would specify the recipient of the traps and the
type
> or traps to be sent. However, no traps will be sent for any of the
> notifications above until you configure the' snmp-server enable traps'
> for at least one notification type.
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
> ffun_r/ffrprt3/frf014.htm#1113568
>
> HTH,
>
> Yasser
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Tim Last
> Sent: Friday, April 23, 2004 12:26 AM
> To: Group Study
> Subject: Specifying SNMP Traps
>
> Hi guys,
>
> I found this example here:
>
>
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a
> 0080094a05.shtml
>
> snmp-server host 10.10.10.10 public config bgp tty snmp-server enable
> traps config snmp-server enable traps bgp
>
> I understand why the 1st first command is there, but why are the other
2
>
>
> commands needed? Isn't it enough that that both "config" and "bgp" in
> the 1st command?
>
> Or, is it really necessary to specify "config" and "bgp" twice, once
>
> in the 1st command and again in the enable traps command.
>
>
>
> Thanks in advance, Tim
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25"
>
>
This archive was generated by hypermail 2.1.4 : Mon May 03 2004 - 19:48:53 GMT-3