.. _example_protocols_bgp_peer-group_address-family_ipv6-unicast_nexthop-self: ############ Nexthop-Self ############ .. sidebar:: Contents .. contents:: :depth: 2 :local: Scenario to verify BGP **peer-group address-family ipv6-unicast nexthop-self** inheritance. When ``nexthop-self`` is configured on a peer-group under address-family ipv6-unicast, routes reflected to members have the next-hop changed to the reflector's address instead of keeping the original next-hop. .. image:: nexthop-self.svg :width: 400 ****************************************************************************** Test iBGP IPv6 - Without nexthop-self reflected route has unreachable next-hop ****************************************************************************** Description =========== Test that without ``nexthop-self`` on the peer-group, routes reflected to DUT2 keep the original next-hop (DUT1: 2001:db8:1::200). Since DUT2 has no route to 2001:db8:1::/64, the next-hop is inaccessible and the route is not usable. Scenario ======== .. include:: nexthop-self/testibgpipv6-withoutnexthop-selfreflectedroutehasunreachablenext-hop .. raw:: html
***************************************************************************** Test iBGP IPv6 - Peer-group nexthop-self changes next-hop on reflected routes ***************************************************************************** Description =========== Test that ``nexthop-self`` configured on a peer-group under address-family ipv6-unicast changes the next-hop of reflected routes to DUT0's own address. DUT1 (eBGP) announces 2001:db8:10::/64 to DUT0 (RR). DUT0 reflects it to DUT2 (iBGP client in peer-group). With nexthop-self, DUT2 sees DUT0 (2001:db8:2::100) as next-hop. Scenario ======== .. include:: nexthop-self/testibgpipv6-peer-groupnexthop-selfchangesnext-hoponreflectedroutes .. raw:: html