<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Thanks for reply.</div><div><br></div>When I check from remote peer, I can see than prepand does work,<div><br></div><div><a href="http://lg.atman.pl/?query=bgp&protocol=IPv4&addr=83.142.192.1&router=bgp-isp">http://lg.atman.pl/?query=bgp&protocol=IPv4&addr=83.142.192.1&router=bgp-isp</a></div><div><br></div><div>..but <span title="Kliknij, aby wyświetlić alternatywne tłumaczenia" class="hps">I see no</span> <span title="Kliknij, aby wyświetlić alternatywne tłumaczenia" class="hps">difference</span> <span title="Kliknij, aby wyświetlić alternatywne tłumaczenia" class="hps atn">(</span><span class="" title="Kliknij, aby wyświetlić alternatywne tłumaczenia">decrease</span><span title="Kliknij, aby wyświetlić alternatywne tłumaczenia">)</span> <span title="Kliknij, aby wyświetlić alternatywne tłumaczenia" class="hps">in the amount of</span> <span title="Kliknij, aby wyświetlić alternatywne tłumaczenia" class="hps">incoming traffic from bgp peer (</span>77.79.229.41)</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div><div><br class="webkit-block-placeholder"></div>
<br><div><div>Wiadomość napisana przez Ian Calderbank w dniu 2011-04-13, o godz. 21:47:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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>
_______________________________________________<br>redback-nsp mailing list<br><a href="mailto:redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a><br>https://puck.nether.net/mailman/listinfo/redback-nsp<br></blockquote></div><br></body></html>