<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.avgcert, li.avgcert, div.avgcert
        {mso-style-name:avgcert;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Doka, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is there a specific reason why you are using the following syntax for the BGP policy to add the communities ?  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>        community set "3254:65535 3254:9100";</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>        community add "3524:9111";</tt></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m using the following in my policies : <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>entry entry-5 {           <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>        If {               <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>        nlri 123.123.128.0/21 exact ;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>        }                           <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>        then {                      <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                med set 0;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                local-preference 250;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                community add "51088:6543" ;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                community add "51088:65001" ;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                permit ;                     <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>             }                               <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And that works on 12.4.2 , 12.4.3, 12.5.4.  (and is currently broken in the 12.6.x beta but expected to be fixed before the 12.6 GA version.)  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m also running X480’s . <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Erik Bais <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> extreme-nsp-bounces@puck.nether.net [mailto:extreme-nsp-bounces@puck.nether.net] <b>On Behalf Of </b>Volodymyr Litovka<br><b>Sent:</b> Monday, July 18, 2011 12:35 PM<br><b>To:</b> extreme-nsp@puck.nether.net<br><b>Cc:</b> yokodzun@yokodzun.kiev.ua<br><b>Subject:</b> [e-nsp] ExOS: "sh bgp routes community" bug?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<br><br>when looking into detailed network info, it shows right communities here:<br><br><tt><u><span style='font-size:10.0pt'>eel.35 # sh bgp routes detail network 31.41.120.0/21</span></u></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>Feasible Routes</tt><br><tt>---------------</tt><br><tt>Route: 31.41.120.0/21, Peer 213.133.164.149, BEST, Active</tt><br><tt>Origin IGP, Next-Hop 213.133.164.149, LPref 95, MED 100</tt><br><tt>Weight 1,</tt><br><tt>AS-Path: 13249 9002 8744 48485</tt><br></span><tt><span style='font-size:10.0pt;color:red'>Community: 3254:65535 3254:9100 3524:9111</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br></span><br>but when I'm trying to get all routes with selected community, I get strange results.<br><br>None for 3254:9111 :<br><br><tt><u><span style='font-size:10.0pt'>eel.36 # show bgp routes community 3254 : 9111</span></u></tt><u><span style='font-size:10.0pt;font-family:"Courier New"'><br></span></u><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>Feasible Routes</tt><br><tt>---------------</tt><br><tt>Destination Peer Next-Hop LPref Weight MED AS-Path</tt><br><br><br><tt>Unfeasible Routes</tt><br><tt>-----------------</tt><br><tt>Destination Peer Next-Hop LPref Weight MED AS-Path</tt><br></span><br>while everything is ok for 3254:9100:<br><br><tt><u><span style='font-size:10.0pt'>eel.60 # show bgp routes community 3254 : 9100</span></u></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>Feasible Routes</tt><br><tt>---------------</tt><br><tt>    Destination        Peer            Next-Hop        LPref Weight MED   AS-Path</tt><br><tt>*>i 1.0.4.0/22         194.44.35.213   194.44.35.213   90    1            3255 6939 7545 7545 7545 7545 7545 56203</tt><br><tt>  i 1.0.4.0/22         213.133.164.149 213.133.164.149 85    1      100   13249 6939 7545 7545 7545 7545 7545 56203</tt><br><tt>*>i 1.5.0.0/16         194.44.35.213   194.44.35.213   90    1            3255 6939 4725</tt><br><tt>  i 1.5.0.0/16         213.133.164.149 213.133.164.149 85    1      100   13249 6939 4725</tt><br><tt>*>i 1.8.1.0/24         194.44.35.213   194.44.35.213   90    1            3255 3549 6453 4641 38345</tt><br><tt>  i 1.8.1.0/24         213.133.164.149 213.133.164.149 85    1      100   13249 6453 4641 38345</tt><br><tt>*>i 1.8.8.0/24         194.44.35.213   194.44.35.213   90    1            3255 3549 6453 4641 38345</tt><br><tt>  i 1.8.8.0/24         213.133.164.149 213.133.164.149 85    1      100   13249 6453 4641 38345</tt></span><br><br>Everything rest besides "show" seems to be working.<br><br>Incoming policy map is:<br><br><tt><span style='font-size:10.0pt'>entry peer-in-50 {</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>if match any {</tt><br><tt>        as-path "_NNNNN_" ;</tt><br><tt>        community "XXXX:YYYYY" ;</tt><br><tt> }</tt><br><tt>then {</tt><br><tt>        local-preference 95;</tt><br><tt>        community set "3254:65535 3254:9100";</tt><br><tt>        community add "3524:9111";</tt><br><tt>        permit;</tt><br><tt> }</tt><br><tt>}</tt><br></span><br>Is it bug or feature?<br><br>Summit x480<br>Image   : ExtremeXOS version 12.5.1.6 v1251b6 by release-manager<br>          on Tue Nov 23 09:49:14 PST 2010<br><br>Thank you<br><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre><o:p> </o:p></pre><pre>/doka<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Vision without Execution is Hallucination. -- Thomas Edison.<o:p></o:p></pre><div class=MsoNormal align=center style='text-align:center'><hr size=1 width="100%" noshade style='color:#A0A0A0' align=center></div><p class=avgcert>No virus found in this message.<br>Checked by AVG - <a href="http://www.avg.com">www.avg.com</a><br>Version: 10.0.1390 / Virus Database: 1516/3771 - Release Date: 07/17/11<o:p></o:p></p></div></div></body></html>