[j-nsp] BGP origination
Richard A Steenbergen
ras at e-gerbil.net
Wed Jan 29 11:22:29 EST 2003
On Wed, Jan 29, 2003 at 02:50:37PM +0100, Hannes Gredler wrote:
>
> why relying on a static route if we have a direct route ?
>
> policy-options {
> policy-statement adv-customer-xyz {
> from {
> protocol direct;
> route-filter 192.168.1.0/24;
> }
> then accept;
> }
> }
> protocols {
> bgp {
> group to-my-upstream {
> export adv-customer-xyz;
> }
> }
> }
>
> should do the trick ...
Because then I lose the ability to easily tag that /24 with communities,
as-path, etc, as I would when defining a static holddown route. At best, I
end up with a REALLY ugly policy-statement to do it.
--
Richard A Steenbergen <ras at e-gerbil.net> http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)
More information about the juniper-nsp
mailing list