RE: [j-nsp] how to config as-prepend in bgp ?

From: Raymond Leung (rlcw@zonasa.com)
Date: Sat Feb 16 2002 - 23:27:25 EST


hi :

thanks for answering my question , actually i would like this router
prepend all route which have as-path "4635" then it prepend more 4841 on
that , can you try to help me ? thx!!

At 11:28 PM 2/16/2002 -0500, you wrote:
>Hi Raymond,
>
>I'd be glad to offer some advice, but I'm not sure what you mean by the
>"route part". Are you looking to prepend some, but not all routes from as 4635?
>
>
>
>At 10:01 AM 2/17/2002 +0800, you wrote:
>>i mean the route part apply on import or export , please be kindly notice .
>>
>>sorry for any cause which make misunderstanding right there .
>>
>>as i can found on www.juniper.net , i will not ask in there :))) and
>>thanks dave help me so many times !
>>
>>try to think about it , eric , it is sample for asking "why" , no need to
>>talk about " please read the manuals from www.juniper.net" !!
>>
>>this is too rude , don't you think so ? you are telling me you are
>>studying in hku ?
>>
>>and thanks for who are going to ans. me
>>
>>At 12:42 AM 2/17/2002 +0800, Eric So wrote:
>>>protocols {
>>> bgp {
>>> group ebgp-peer {
>>> import [ prependAS4635 ];
>>> ...
>>> }
>>> }
>>>}
>>>
>>>Please read the manuals from www.juniper.net!
>>>
>>>-e
>>>
>>>On Sun, 17 Feb 2002, Raymond Leung wrote:
>>>
>>> > how to define in the BGP route part ?
>>> >
>>> > At 10:52 PM 2/15/2002 -0500, Dave Qi wrote:
>>> > >Ray, try this. this should work.
>>> > >
>>> > >policy-statement prependAS4635 {
>>> > > term a {
>>> > > from as-path as4635;
>>> > > then as-path-prepend "4841 4841";
>>> > > }
>>> > >}
>>> > >as-path as4635 ".* 4635 .*";
>>> > >
>>> > >-----Original Message-----
>>> > >From: Raymond Leung [mailto:rlcw@zonasa.com]
>>> > >Sent: Friday, February 15, 2002 9:40 PM
>>> > >To: juniper-nsp@puck.nether.net
>>> > >Subject: [j-nsp] how to config as-prepend in bgp ?
>>> > >
>>> > >
>>> > >rlcw@juniper-m20> show route 202.81.252.0
>>> > >
>>> > >inet.0: 106984 destinations, 106984 routes (106981 active, 0 holddown, 3
>>> > >hidden)
>>> > >+ = Active Route, - = Last Active, * = Both
>>> > >
>>> > >202.81.252.0/23 *[BGP/170] 10:30:58, localpref 100, from 10.10.24.1
>>> > > AS path: 10032 4635 4658 I
>>> > > > to 203.129.80.35 via fxp0.0
>>> > > [BGP/170] 10:58:03, localpref 100, from
>>> 203.129.64.60
>>> > > AS path: 10032 4635 4658 I
>>> > > > to 203.129.80.35 via fxp0.0
>>> > >
>>> > >rlcw@juniper-m20>
>>> > >
>>> > >
>>> > >how can i set the prepend when see the AS-PATH 4635 ?
>>> > >
>>> > >thx for advice !!
>>> > >
>>> > >With Regards,
>>> > >
>>> > >
>>> > >Raymond Leung
>>> > >Network Analyst
>>> > >Zonasa Network Limited
>>> > >
>>> > >
>>> > >Suite 903,Technology Plaza
>>> > >651 King's Road
>>> > >Quarry Bay
>>> > >Hong Kong
>>> > >
>>> > >AS4841 Object Maintainer
>>> >
>>> > With Regards,
>>> >
>>> >
>>> > Raymond Leung
>>> > Network Analyst
>>> > Zonasa Network Limited
>>> >
>>> >
>>> > Suite 903,Technology Plaza
>>> > 651 King's Road
>>> > Quarry Bay
>>> > Hong Kong
>>> >
>>> > AS4841 Object Maintainer
>>> >
>>> >
>>
>>With Regards,
>>
>>
>>Raymond Leung
>>Network Analyst
>>Zonasa Network Limited
>>
>>
>>Suite 903,Technology Plaza
>>651 King's Road
>>Quarry Bay
>>Hong Kong
>>
>>AS4841 Object Maintainer
>
>

With Regards,

Raymond Leung
Network Analyst
Zonasa Network Limited

Suite 903,Technology Plaza
651 King's Road
Quarry Bay
Hong Kong

AS4841 Object Maintainer



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:39 EDT