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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP maximum-path

Dear All,

I required your comments on a scenario of multihoming to a single provider.RouterA have 2 links with upstream provider and using maximum-path command to install more than 1 path in routing table for a prefix learned from both eBGP sessions.RouterA have iBGP session with RouterB also in its AS, now my question is that when I check BGP table for a prefix ( suppose 11.11.0.0 /16 ) at RouterB then it shows next hop ip address of its peer i.e RouterA although I am not using nexthop-self command on RouterA.Is this behaviour is due to maximum-path command ??

Regards,

Mujeeb

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: BGP maximum-path

Mujeeb,

You are correct. In this scenario, the next-hop-self is set to self by router A because "maximum-paths" is configured and as a result of that multiple BGP paths are installed in the RIB.

Hope this helps,

4 REPLIES
New Member

Re: BGP maximum-path

Hello Mujeeb,

because of iBGP protocol ,the next-hop attribute is the IP address of the iBGP peer. If you setup another iBGP session between routerB and another routerC, the router C will receive announce for this prefix (11.11.0.0/16) with next-hop address of router A. Check this out:

http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/bgp.htm#wp1020610

hope that helps!

BR,

Danail Petrov

New Member

Re: BGP maximum-path

Danail,

Router B would not advertise 11.11.0.0/16(learned from eBGP peers) to RouterC b/c of split horizon. As far as Mujeeb's issue is concerned i also have noticed that RouterB would show next-hop to Router A for prefix 11.11.0.0/16 if & only if maximum path 2 is defined on Router A without using next-hop-self.

Regards,

Akhtar

New Member

Re: BGP maximum-path

Danail,

i also have attached the topology, please check that.

Akhtar

Cisco Employee

Re: BGP maximum-path

Mujeeb,

You are correct. In this scenario, the next-hop-self is set to self by router A because "maximum-paths" is configured and as a result of that multiple BGP paths are installed in the RIB.

Hope this helps,

2621
Views
5
Helpful
4
Replies