SNMP Trap for BGP
P.S. (and I appologize for spam-like replies): From DOCCD about what is behind “snmp-server host”: (Optional) Type of notification to be sent to the host. If no type is specified, all available notifications are sent.
Meaning, the real required commands are:
snmp-server enable traps bgp (they are disabled by default, and snmp-server host 10.1.1.1 trap CISCO bgp command does not enable them, but merely allows sending them if they are enabled, which they are not by default) snmp-server host 10.1.1.1 CISCO
And only if you want to send ONLY bgp traps, you would go as far as:
snmp-server enable traps bgp snmp-server host 10.1.1.1 trap CISCO bgp
These two commands enable sending them
On Mon, Jan 12, 2009 at 8:32 PM, Pavel Bykov wrote:
> DOCCD > IOS 12.4 > Command Reference > Network Management: > > snmp-server host command > traps(Optional) Specifies that notifications should be sent as traps. This > is the default. > bgpSends Border Gateway Protocol (BGP) state change notifications. > ttySends Cisco enterprise-specific notifications when a TCP connection > closes. > > So… did task asked you to send notifications about closing TCP session as > well? They do relate, but you should be fine with BGP only. > > > > > On Mon, Jan 12, 2009 at 8:28 PM, Pavel Bykov wrote: > >> What’s tty? (I mean in that particular command, I mean, I know what >> teletype is) >> >> >> >> On Mon, Jan 12, 2009 at 7:50 PM, John Edom wrote: >> >>> hi, >>> >>> If i want to send bgp traps to a snmp server, i will add only bgp trap or >>> also tty? >>> >>> snmp-server host 10.1.1.1 trap CISCO bgp >>> >>> or >>> >>> snmp-server host 10.1.1.1 trap CISCO bgp tty >>> >>> Just need correction >>> >>> Regards >>> >>> >>> Blogs and organic groups at http://www.ccie.net >>> >>> _______________________________________________________________________ >>> Subscription information may be found at: >>> http://www.groupstudy.com/list/CCIELab.html >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> — >> Pavel Bykov >> —————- >> Don’t forget to help stopping the braindumps, use of which reduces value >> of your certifications. Sign the petition at >> http://www.stopbraindumps.com/ >> > > > > — > Pavel Bykov > —————- > Don’t forget to help stopping the braindumps, use of which reduces value of > your certifications. Sign the petition at http://www.stopbraindumps.com/ >
– Pavel Bykov —————- Don’t forget to help stopping the braindumps, use of which reduces value of your certifications. Sign the petition at http://www.stopbraindumps.com/
Blogs and organic groups at http://www.ccie.net
























