Mailing List Archive

policy export in bgp question
Hello everyone

I am trying to configure a juniper for announcing our network space(like
network statements in cisco). This router has an ebgp connection to our

transit provider and its also participating in ibgp mesh. Right now I have
only one cisco that have network statements in the mesh of 15 routers and I
want to use the juniper as a back up in case the cisco fails. I have
created the policy for aggregrate routes and have imported it into my ebgp
group. My question is that do I need to import that policy into my IBGP
group also ? Here is what my policy looks like.



routing-options {

aggregate {

route x.x.x.x/x passive;

}

}



policy-options policy statement aggeregate {

term agg {

from route-filter x.x.x.x/x exact;

then accept;

}

term default

then reject

}

protocols {

bgp {

group transit {

export aggregate

}

}

group ibgp-mesh

export ?

}



Thanks in advance,

Wajahat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20040121/8be58356/attachment.html
policy export in bgp question [ In reply to ]
yes , you should add also policy that exports aggregate to your
ibgp-mesh.However you shall note that your last term
is reject so i would suggest make another policy statement without reject
as last statement (unless you don't want you ebgp routes being propagate to
ibgp peers)

regards

pm


----- Original Message -----
From: Niaz, Wajahat
To: juniper-nsp@puck.nether.net
Sent: Wednesday, January 21, 2004 9:46 PM
Subject: [j-nsp] policy export in bgp question


Hello everyone
I am trying to configure a juniper for announcing our network space(like
network statements in cisco). This router has an ebgp connection to our
transit provider and its also participating in ibgp mesh. Right now I have
only one cisco that have network statements in the mesh of 15 routers and I
want to use the juniper as a back up in case the cisco fails. I have
created the policy for aggregrate routes and have imported it into my ebgp
group. My question is that do I need to import that policy into my IBGP
group also ? Here is what my policy looks like.

routing-options {
aggregate {
route x.x.x.x/x passive;
}
}

policy-options policy statement aggeregate {
term agg {
from route-filter x.x.x.x/x exact;
then accept;
}
term default
then reject
}
protocols {
bgp {
group transit {
export aggregate
}
}
group ibgp-mesh
export ?
}

Thanks in advance,
Wajahat



_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp
policy export in bgp question [ In reply to ]
Also to simplify you policies if you have more than one aggregate you
can use the match 'from protocol aggregate;'

Gary

On Jan 22, 2004, at 3:35 AM, Piotr Marecki wrote:

> yes , you should add also policy that exports aggregate to your
> ibgp-mesh.However you shall note that your last term
> is reject so i would suggest make another policy statement without
> reject
> as last statement (unless you don't want you ebgp routes being
> propagate to
> ibgp peers)
>
> regards
>
> pm
>
>
> ----- Original Message -----
> From: Niaz, Wajahat
> To: juniper-nsp@puck.nether.net
> Sent: Wednesday, January 21, 2004 9:46 PM
> Subject: [j-nsp] policy export in bgp question
>
>
> Hello everyone
> I am trying to configure a juniper for announcing our network
> space(like
> network statements in cisco). This router has an ebgp connection to our
> transit provider and its also participating in ibgp mesh. Right now I
> have
> only one cisco that have network statements in the mesh of 15 routers
> and I
> want to use the juniper as a back up in case the cisco fails. I have
> created the policy for aggregrate routes and have imported it into my
> ebgp
> group. My question is that do I need to import that policy into my IBGP
> group also ? Here is what my policy looks like.
>
> routing-options {
> aggregate {
> route x.x.x.x/x passive;
> }
> }
>
> policy-options policy statement aggeregate {
> term agg {
> from route-filter x.x.x.x/x exact;
> then accept;
> }
> term default
> then reject
> }
> protocols {
> bgp {
> group transit {
> export aggregate
> }
> }
> group ibgp-mesh
> export ?
> }
>
> Thanks in advance,
> Wajahat
>
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>