BGP Filters

Hello

I have BGP working to advertise my routes with no filters
It seems to work well.

I need to prepend my AS a few times.

Can someone show me what settings I need filled out in a new filter & what to attach the filter to?

Thanks :slight_smile:

Equis, i don’t exactly rember where it is, but you should find somewhere (either in the filters or peer options) a prepend option.. set a value, it will be used as the times your as is prepended into the announced as path (never used it, but i rebemer it was explained somewhere)..
Bye,
Ricky

Thanks

Yep, I see prepend under filters

Problem is I don’t knwo how to/what values need to be in a filter and where to attache it too

Thanks

:slight_smile:

I guess you create an entry in the filters chain with just prepend selected and the value setting the times you want to prepend, and attach it to the output filters.
I never used it, try it, if you’re still in trouble i should have at least a collegue that uses it to prepend, i can ask him.
Bye,
Ricky

Thanks :slight_smile:

I will try

[/quote]

I guess you create an entry in the filters chain with just prepend selected and the value setting the times you want to prepend, and attach it to the output filters.
I never used it, try it, if you’re still in trouble i should have at least a collegue that uses it to prepend, i can ask him.
Bye,
Ricky[/quote]

I’m still stuck :frowning:
I created a filter in for accept and prepen but still does not work.

Any help would be great!

I started using it myself… so i can help you with a sample config:
On the out filter:
add chain=chain-name invert-match=no action=passthrough set-bgp-prepend=6
comment=“” disabled=no

this prepend your as 6 times to any prefix you announce.
If you want to prepend on just some prefixes just specify prefix and prefix lenght.
Bye,
Ricky

Thanks :slight_smile: