<html><head><style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style></head><body><div style="font-family: sans-serif; font-size: 16px">Thanks for the reply. That's not quite what I'm after.<br><br>In this case, I want to accomplish both on the same internal sessions to reflector clients. I want to set next hop self on routes learned from external peers and propagate to internal reflector clients. In the same internal sessions, I want leave the original IGP next-hop on internal routes reflected to the reflector clients.<br><br>Ben Robinson<br>Systems Engineer<br>LS Networks</div><br><br>-----Original message-----<br><blockquote style="; border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: sans-serif; font-size: 14px"><b>From: </b>Stefano Gridelli <sgridelli@gmail.com><b><br>To: </b>Ben Robinson <brobinson@lsnetworks.net><b><br>Cc: </b>"alcatel-nsp@puck.nether.net" <alcatel-nsp@puck.nether.net><b><br>Sent: </b>Fri, Mar 4, 2011 01:38:04 GMT+00:00<b><br>Subject: </b>Re: [alcatel-nsp] 7750 Route Reflector Server Question<br><br></div><div>

<div>
You can implement this without a policy but by simply creating two bgp groups:
<div><br>
</div>
<div>group internal</div>
<div>   type internal</div>
<div>   neighbor 10.0.0.1</div>
<div>   exit</div>
<div>exit</div>
<div>group external</div>
<div>   peer-as 1234;</div>
<div>   neighbor 4.4.4.1;</div>
<div>   exit</div>
<div>    next-hop-self;</div>
<div>exit</div>
<div><br>
</div>
<div>is this what you are looking for?</div>
<div><br>
<div class="gmail_quote">On Thu, Mar 3, 2011 at 7:50 PM, Ben Robinson <span dir="ltr">
<<a href="mailto:brobinson@lsnetworks.net">brobinson@lsnetworks.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Greetings,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">I’m using route reflection on 7750-SR (8.0R7) and want to set next hop self for routes learned from external BGP peers, but not on routes learned from internal
 BGP peers. The goal is to reflect routes from internal peers, preserving the IGP next hop while setting next hop self on routes from external peers. Perhaps this is the default behavior.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">I can set all routes to next hop self in the 7750 Peer/Group configuration and with a policy. Since I don’t want all routes advertised internally by the 7750
 to have the next hop self set, I’m assuming that it is accomplished in a policy.
</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Firstly, does anyone know if this is the default behavior? Or, if possible, how to accomplish this with SROS policy.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">The Juniper policy equivalent is:</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">term external {</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    from route-type external;</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    then {</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        next-hop self;</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        accept;</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    }</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">}</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">term internal {</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    from route-type internal;</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    then accept;</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">}</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">…</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Policy nhs-ipv6:</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    Term external:</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        from route-type external</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        then nexthop self accept</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">    Term internal:</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        from route-type internal</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">        then accept</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Thanks,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Ben Robinson</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Systems Engineer</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">LS Networks, Inc.</span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div
</div></blockquote></body></html>