Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Tracking the number of BGP prefixes

Hi,

Is it possible to track the number of bgp prefixes and warn when they fall below a threshold?

I understand maximum-prefix will warn when the number of prefixes exceed the threshold, however I want to know when the number falls below a set value.

Thanks

4 REPLIES

Re: Tracking the number of BGP prefixes

HI Gavin, [Pls RATE if HELPS]

Refer Useful link below:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008010a28a.shtml

[Edit] The link for Warning when it exceeds the threshold

I beleive it can be done with IP-SLA and with some Syslog Server.

Hope I am Informative.

Pls RATE if HELPS

Best Regards,

Guru Prasad R

New Member

Re: Tracking the number of BGP prefixes

hi,

thanks for your response I have read this document however I want to be warned when i loose a bunch of prefixes not exceed the number!

Gold

Re: Tracking the number of BGP prefixes

Maybe someone knows a easy way and will tell us but there are 2 ways I suspect it can be done. I have not done this particular item.

First you could attempt to use the RMON command. This is a internal event monitor and can cause snmp traps and other actions based on changes in MIB variables. The challenge here is finding the correct MIB and then figuring out what name this command want you to call it. In most cases anything that can be displayed with a command you can find a mib for if you dig long enough with a MIB browser.

The new toy that I know can do it if you are brave enough is called Embedded Event Manager.

They have been adding a lot of features to this in the last few IOS releases. Since this is all based on scripts you can issue just about any command and take action based on the output. There are huge libraries of scripts for samples. This link is the best I have seen. This was a presentation from the cisco users group in dallas a couple of months ago.

http://dfw.cisco-users.org/zips/080302_Embedded_Event_Manager.zip

So far I only play with this is the lab until my TCL abilities improve.

New Member

Re: Tracking the number of BGP prefixes

hey,

thanks for your help. i'm very careful about EEM also and keep it in the lab where possible. I'll have a look and if i find an easier way i'll let you know!

Gavin

140
Views
5
Helpful
4
Replies
CreatePlease to create content