RE: Lab 13 - 8.1

From: Shine Joseph (shinepjoseph@iprimus.com.au)
Date: Mon Mar 10 2008 - 23:23:15 ARST


I will explain this with a couple of examples.

Consider the following command combination.
Case 1
------
snmp-server host 139.1.2.100 CISCO - send all traps to the host 139.1.2.100
snmp-server enable traps - enable all traps available

The net effect of these two commands would be to send all traps to the
specified host.

Case 2
------
The next case is configuring the host to send only traps for BGP
snmp-server host 139.1.2.100 CISCO bgp - send only bgp traps to the host
snmp-server enable traps - enable all traps available

These two commands would send only bgp traps to the specified host.

Case 3
------
This will be best understood, if you think about one more snmp-host where
ospf traps are being sent.

snmp-server host 139.1.2.100 CISCO bgp - send only bgp traps to this host
snmp-server host 139.1.2.101 CISCO ospf - send only ospf traps to this host
snmp-server enable traps - I am enabling all the traps available

Case 4
------
snmp-server host 139.1.2.100 CISCO bgp ospf- send only bgp and ospf traps to
this host
snmp-server host 139.1.2.101 CISCO rmon - send only rmon traps to this host
snmp-server enable traps bgp rmon- enables only bgp and rmon the traps

Even though the router is configured to send the bgp and ospf traps to the
first host, as the ospf is not enabled, it host would receive only bgp
traps.

HTH,
Shine

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Rich
Collins
Sent: Tuesday, 11 March 2008 9:49 AM
To: Michael Whittle
Cc: CCIE Lab Group Study
Subject: Re: Lab 13 - 8.1

I would say with the first one you do not have snmp traps enabled yet. It
just says to send "bgp snmp traps" to that host address.

Your second one will work since all traps will go to that host - but I guess
if you only enable the bgp then just those will be sent there. You might
want to limit it like you have in the first statement.

You can test it with by trying to trigger a trap and then seeing if the
count increments:

SNMP logging: enabled
    Logging to 139.1.2.100.162, 0/10, 38 sent, 0 dropped.

-Rich

On 3/9/08, Michael Whittle <mgwhittle@gmail.com> wrote:
>
> Hi all,
>
> Can someone please tell me if the following command:
>
> *snmp-server host 139.1.2.100 traps CISCOBGP bgp*
>
> Would have the same effect as the solution:
>
> *snmp-server enable traps bgp
> snmp-server host 139.1.2.100 CISCOBGP*
>
> And if not, what is the difference?
>
> Thanks,
> Mike
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART