[j-nsp] JUNOS Equivalent to CISCO IOS next-hop-self

Daniel Roesen dr at cluenet.de
Mon Oct 20 17:00:52 EDT 2003


On Mon, Oct 20, 2003 at 04:25:43PM -0400, Niaz, Wajahat wrote:
> Create policy under policy options to change the next hop
> 
> policy-statement next-hop-self {
>         then {
>             next-hop self;
>         }
>     }
> 
> and then import this policy in bgp
> 
> protocols {
>     bgp {
>         group ibgp-peer {
>             type internal;
>            
>             export next-hop-self;

This will read to routing loops in many topologies. Changing the
next-hop of IBGP-received routes to self must not be done.

Cisco's next-hop-self has this intelligence, JunOS not. You have
to do that manually by tagging EBGP-received routes and setting
next-hop self for them (and static/direct/whatever routes) when
re-advertising those to the IBGP mesh.


Regards,
Daniel


More information about the juniper-nsp mailing list