[rbak-nsp] bgp prepend

Ian Calderbank ian at calderbankconsulting.co.uk
Wed Apr 13 15:47:36 EDT 2011


its only going to modify AS path when the route leaves the box. show bgp
route shows the path on this box.
check  routes advertised to the peer . show bgp neig 77.79.229.41 advertised
(syntax from memory so maybe not correct) and/or check on the remote peer
itself.

Ian


>
> Today's Topics:
>
>   1. bgp prepend (Micha? Korzeniowski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 13 Apr 2011 16:24:25 +0200
> From: Micha? Korzeniowski  <Michal.Korzeniowski at metrointernet.pl>
> To: "redback-nsp at puck.nether.net" <redback-nsp at puck.nether.net>
> Subject: [rbak-nsp] bgp prepend
> Message-ID: <E30FFC46-5C4A-4303-A61F-A7908090D0D7 at metrointernet.pl>
> Content-Type: text/plain; charset="iso-8859-2"
>
> I try to add prepend for one from my BGP neighboutr.
> I tried to  add route-map and set  prepend, but In my opinion it doesn't
> work
>
> my config  below
>
>  route-map atmbbi-out permit 10
>  set as-path prepend 8819 8819 8819
>
>  router bgp 8819
>  router-id 83.142.192.1
>  bestpath med always-compare
>  address-family ipv4 unicast
>   dampening
>   network XX.XX.X.0/21
>   network XX.XX.XX.0/21
>   network XX.XX.XX.0/21
> !
>  neighbor 77.79.229.41 external
>    remote-as 15694
>    description ATMAN-BBI
>   address-family ipv4 unicast
>      prefix-list our-networks out
>      route-map atmbbi-out out
> !
>
>
>
>
>
> [BGP]RedBack#show bgp route 212.77.100.0/24 longer-prefixes
> Address Family: ipv4 unicast
> BGP table version is 30502037, local router ID is 83.142.192.1
> Status codes: d damped, h history, > best, i internal
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
>   Network            Next Hop                Metric  LocPrf  Weight Path
>   212.77.100.0/24    80.50.140.53                 0     240     100 5617
> 12827 12827 i
> >                     195.182.218.204             20     250     100 8545
> 12827 i
>                      195.182.218.204             20     250     100 8545
> 12827 i
>                      77.79.229.41                 0     100     100 15694
> 12827 i
>                      194.153.134.5                0     100     100 24748
> 12827 i
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> Micha? Korzeniowski
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://puck.nether.net/pipermail/redback-nsp/attachments/20110413/c757dcd3/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> redback-nsp mailing list
> redback-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/redback-nsp
>
>
> End of redback-nsp Digest, Vol 40, Issue 4
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20110413/3beb969a/attachment.html>


More information about the redback-nsp mailing list