by Alex3917 · 9y ago · 0 comments
BGP transmits reachability information by building paths of AS that are neighbors. Then, typically, it selects the shortest path of AS hops. (There are a lot of knobs to twiddle with here, both on the advertising side and on the deciding side.)
BGP doesn't care or know about numbers of router hops, just the number of AS between here and there.
There are lots of "network engineer in a box" products that map out performance and then twiddle knobs on your BGP router to select for best performance (or least cost, if some of your paths are more expensive than others.)
Even that's an unfair simplification, though. Cisco has a pretty good page that shows how path choices are made: http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-...
There are products, though, that tweak these settings to pick for best performance, or lowest bandwidth cost.
BGP itself is actually a relatively simple protocol. The complexity really comes from all the available configuration options.