06-26-2008 12:52 AM - edited 03-03-2019 10:30 PM
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
06-26-2008 01:14 AM
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
06-26-2008 01:33 AM
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!
06-26-2008 04:56 AM
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.
06-26-2008 06:24 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: