RE: snmp-server host command

From: mani poopal (mani_ccie@yahoo.com)
Date: Sat Feb 26 2005 - 10:46:13 GMT-3


Hi Tim,
 
I think either A or B is right. If you have to send traps to only specific servers you enable it on the snmp-server command but snmp-enable traps will send traps to all the snmp servers.
 
Mani

ccie2be <ccie2be@nyc.rr.com> wrote:
Mani,

I'm glad you noticed that.

I had seen Kuldip's response and wasn't able to decide if I should anything.

Let me rephrase the question this way:

Will both A and B work or only A?

(A.) snmp-server enable traps

snmp-server host 1.1.1.100 traps

(B.) snmp-server host 1.1.1.100 traps

___________________________________

This question comes from IE lab 20.

The Solution shows B but I can't test this and this is something that can
easily cost valuable points in the lab.

Personally, I believe A must be used because unless traps are enabled
globally I think no traps will be sent.

What do you think?

Thanks for your attention to detail.

Tim

_____

From: mani poopal [mailto:mani_ccie@yahoo.com]
Sent: Friday, February 25, 2005 7:33 PM
To: kuldip singh; ccie2be
Cc: Group Study
Subject: Re: snmp-server host command

Hi Kuldip,

If I am right, Tim's question is ,

Do we have to configure

(A.)snmp-server enable traps

snmp-server host 1.1.1.100 traps vty

(B.)snmp-server host 1.1.1.100 traps vty-->Is it right or do we need to
enable traps globally

Mani

kuldip singh wrote:

Hi Tim,

The SNMP-SERVER HOST command specifies which hosts will receive SNMP
notifications, and whether you want the notifications sent as traps or
inform requests.

The SNMP-SERVER ENABLE TRAPS command globally enables the production
mechanism for the specified notification types (such as Border Gateway
Protocol [BGP] traps, config traps, entity traps, Hot Standby Router
Protocol [HSRP] traps, and so on).

On Thu, 24 Feb 2005 17:17:21 -0500, ccie2be wrote:
> Hi guys,
>
> Will traps be sent to a snmp server if only the
>
> snmp-server host [password]
>
> is configured and the snmp-server enable traps command isn't configured?
>
> I thought that the snmp-server enable traps command HAD TO BE configured
for
> any traps
>
> to be sent.
>
> Can anyone confirm this?
>
> TIA, Tim
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:25 GMT-3