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

From: Eric So (eric.so@graduate.hku.hk)
Date: Sat Feb 16 2002 - 11:42:43 EST


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
>
>



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