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