In special scenarios, when advertising routes to an IBGP peer, a BGP device needs to set the next hop to its IP address to prevent blackhole routes. Which of the following commands can be run in this case?
Comprehensive and Detailed Step-by-Step Explanation:
Blackhole Route Issue in BGP:
In IBGP, the next hop of a route learned from an EBGP peer is not changed by default. If an IBGP peer cannot reach the next hop, blackhole routes may occur.
To prevent this, thepeer next-hop-localcommand is used to set the next hop to the local router's IP address.
Other Commands:
peer mpls-local-ifnet:Used in MPLS networks to set the next hop as the local interface address.
peer private-nexthop:Allows advertising private IP addresses as the next hop.
peer next-hop-invariable:Ensures the next hop is not modified during route advertisement, which is the opposite of what is required here.
[References:, HCIA-Datacom Study Guide, Chapter: BGP Next Hop Behavior, Huawei BGP Configuration Commands, , , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit