cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
1
Helpful
2
Replies

IOS XR (Next-Hop-Self all)

imanless
Level 1
Level 1

What is the equivalent of "next-hop-self all" command in IOS-XE for the IOS XR. This command allows the changing of next hop even when the routes are being learnt from an ibgp neighbor and are shared with another ibgp neighbor. For IOS XR, I am unable to find the counterpart of this command. Can someone help ?

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @imanless ,

The equivalent for "next-hop-self all" on IOS-XR is "ibgp policy out enforce-modifications".

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/routing/command/reference/b-routing-cr-asr9000/bgp-commands.html#wp3930840570

You still need to configure the next-hop-self under the appropriate address-family for the appropriate neighbors.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

2 Replies 2

Martin L
VIP
VIP

What router and version of IOS ?  Not all commands options are available since XE and XR perform different roles. 

Regards, ML
**Please Rate All Helpful Responses **

Harold Ritter
Cisco Employee
Cisco Employee

Hi @imanless ,

The equivalent for "next-hop-self all" on IOS-XR is "ibgp policy out enforce-modifications".

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/routing/command/reference/b-routing-cr-asr9000/bgp-commands.html#wp3930840570

You still need to configure the next-hop-self under the appropriate address-family for the appropriate neighbors.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México