next-hop-self for update received from iBGP neighbor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:12 PM
Hi,
will next-hop-self still work for bgp update received from iBGP neighbor in ExtremeXOS?
for example for cisco additional routemap is required:
route-map RM-NHSset ip next-hop peer-address neighbor X.X.X.X route-map out RM-NHS While for juniper it works by default for iBGP neighbors within different clusters
will next-hop-self still work for bgp update received from iBGP neighbor in ExtremeXOS?
for example for cisco additional routemap is required:
route-map RM-NHSset ip next-hop peer-address neighbor X.X.X.X route-map out RM-NHS While for juniper it works by default for iBGP neighbors within different clusters
18 REPLIES 18
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:36 PM
I can't verify now, but I think nlri matches by default with an exact. So, unless you are testing with an actual default route, your routing policy doesn't match. Check the routing policy chapter and look for nlri and next-hop keywords in the table to be sure.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:36 PM
Hi Tatiana,
Please see below the commands applied for router "B":
regrabgp.pol
entry R1 {
if match any {
nlri 0.0.0.0/0;
} then {
next-hop 192.168.1.6;
}
}
Command 1: configure bgp neighbor 192.168.1.8 next-hop-self
Command 2: configure bgp neighbor 192.168.1.8 route-policy out regrabgp
I have tried using only command 1, then only command 2 and then both. Got same results on all 3 tests.
Please see below the commands applied for router "B":
regrabgp.pol
entry R1 {
if match any {
nlri 0.0.0.0/0;
} then {
next-hop 192.168.1.6;
}
}
Command 1: configure bgp neighbor 192.168.1.8 next-hop-self
Command 2: configure bgp neighbor 192.168.1.8 route-policy out regrabgp
I have tried using only command 1, then only command 2 and then both. Got same results on all 3 tests.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:36 PM
We will test this during maintenance. Can you send me configurations applied please?
One reason it not works is that this PBR doesn't change BGP next-hop attribute.
One reason it not works is that this PBR doesn't change BGP next-hop attribute.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:36 PM
Just made a quick test and got same results with or without the policy. The Nex-Hop remains unchanged pointing to router "C".
Since that's applied in a BGP reflector, I'm not sure if that would work.
Please let me know if you got a different result.
Thanks.
Since that's applied in a BGP reflector, I'm not sure if that would work.
Please let me know if you got a different result.
Thanks.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-22-2016 03:36 PM
Grosjean, Stephane, I have a reason to do this ) Thanks
Kevin Kim, Thank you for commands, will try them.
Kevin Kim, Thank you for commands, will try them.
