EasyManuals Logo
Home>Cisco>Network Router>A9K-SIP-700

Cisco A9K-SIP-700 Configuration Guide

Cisco A9K-SIP-700
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #67 background imageLoading...
Page #67 background image
Comparing Pairs of Paths
Perform the following steps to compare two paths and determine the better path:
1
If either path is invalid (for example, a path has the maximum possible MED value or it has an unreachable
next hop), then the other path is chosen (provided that the path is valid).
2
If the paths have unequal pre-bestpath cost communities, the path with the lower pre-bestpath cost
community is selected as the best path.
3
If the paths have unequal weights, the path with the highest weight is chosen.
The weight is entirely local to the router, and can be set with the weight command or using a routing
policy.
Note
4
If the paths have unequal local preferences, the path with the higher local preference is chosen.
If a local preference attribute was received with the path or was set by a routing policy, then that value is
used in this comparison. Otherwise, the default local preference value of 100 is used. The default value
can be changed using the bgp default local-preference command.
Note
5
If one of the paths is a redistributed path, which results from a redistribute or network command, then
it is chosen. Otherwise, if one of the paths is a locally generated aggregate, which results from an
aggregate-address command, it is chosen.
Step 1 through Step 4 implement the Path Selection with BGPof RFC 1268.
Note
6
If the paths have unequal AS path lengths, the path with the shorter AS path is chosen. This step is skipped
if bgp bestpath as-path ignore command is configured.
When calculating the length of the AS path, confederation segments are ignored, and AS sets count as 1.Note
eiBGP specifies internal and external BGP multipath peers. eiBGP allows simultaneous use of internal
and external paths.
Note
7
If the paths have different origins, the path with the lower origin is selected. Interior Gateway Protocol
(IGP) is considered lower than EGP, which is considered lower than INCOMPLETE.
8
If appropriate, the MED of the paths is compared. If they are unequal, the path with the lower MED is
chosen.
A number of configuration options exist that affect whether or not this step is performed. In general, the
MED is compared if both paths were received from neighbors in the same AS; otherwise the MED
comparison is skipped. However, this behavior is modified by certain configuration options, and there are
also some corner cases to consider.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 39
Implementing BGP
BGP Best Path Algorithm

Table of Contents

Other manuals for Cisco A9K-SIP-700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco A9K-SIP-700 and is the answer not in the manual?

Cisco A9K-SIP-700 Specifications

General IconGeneral
BrandCisco
ModelA9K-SIP-700
CategoryNetwork Router
LanguageEnglish

Related product manuals