Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

BGP manual Next hop modification

hi all, i read somewhere that we can use manual next hop modification in BGP instead of using next-hop-self command, how can we do that ?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: BGP manual Next hop modification

Ovais,

You would apply a route-map outbound on an iBGP neighbor as follow:

router bgp xx

neighbor x.x.x.x remote-as xx

neighbor x.x.x.x update-source lo0

neighbor x.x.x.x route-map set-nh out

!

route-map set-nh permit 10

set ip next-hop

!

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
1 REPLY
Cisco Employee

Re: BGP manual Next hop modification

Ovais,

You would apply a route-map outbound on an iBGP neighbor as follow:

router bgp xx

neighbor x.x.x.x remote-as xx

neighbor x.x.x.x update-source lo0

neighbor x.x.x.x route-map set-nh out

!

route-map set-nh permit 10

set ip next-hop

!

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
285
Views
0
Helpful
1
Replies
CreatePlease to create content