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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Determining BGP traffic

I have a DS3 line that has both BGP routed traffic and static routed traffic. How can I see how much traffic is coming in (or going out) on the DS3 line that is BGP based and how much is static routed? IOS CLI or SNMP MIB.

Thanks,

Hank

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: Determining BGP traffic

Another option is to use BGP policy accounting, which is described here:

http://www.cisco.com/warp/public/459/38.html

Then you can do the following:

- At the start of every week:

** note total interface input/output bytes/packets

** note total BGP traffic input/output bytes/packets

- At the end of the week

** do a delta of the current counters to determine total traffic moved through the interface

** do a delta of the current counters to determine total traffic routed via BGp

** take the difference of the above to get total traffic routed via statics.

Hope that helps - pls rate the post if it does.

Paresh

3 REPLIES
Purple

Re: Determining BGP traffic

Hi Hank,

There is no easy way to do what you require. In fact, I'm curious about your reasons for wanting to do so.

One thing you can possibly do is to enable IP accounting on the interface and then use some scripts to process the output and identify how much of it was destined to BGP-routed destinations and how much was for statically-routed destinations.

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: Determining BGP traffic

I am migrating a customer from static to BGP, and the migration is gradual but they want to see how much of their traffic is still static routed at the end of each week.

Purple

Re: Determining BGP traffic

Another option is to use BGP policy accounting, which is described here:

http://www.cisco.com/warp/public/459/38.html

Then you can do the following:

- At the start of every week:

** note total interface input/output bytes/packets

** note total BGP traffic input/output bytes/packets

- At the end of the week

** do a delta of the current counters to determine total traffic moved through the interface

** do a delta of the current counters to determine total traffic routed via BGp

** take the difference of the above to get total traffic routed via statics.

Hope that helps - pls rate the post if it does.

Paresh

120
Views
0
Helpful
3
Replies