Step 2-Determining The Order Of Comparisons; Step 3-Determining The Best-Path Change Suppression - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Information About Basic BGP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
If all path parameters in Step 1 through Step 9 are the same, then you can configure the best-path
algorithm to compare the router IDs. See the
more information. If the path includes an originator attribute, then Cisco NX-OS uses that attribute as
the router ID to compare to; otherwise, Cisco NX-OS uses the router ID of the peer that sent the path. If
the paths have different router IDs, Cisco NX-OS chooses the path with the lower router ID.
Note
11.
12.
Paths that are equal after step 9 can be used for multipath if you configure multipath. See the
Note
Sharing and Multipath" section on page 6-6
Step 2—Determining the Order of Comparisons
The second step of the BGP best-path algorithm implementation is to determine the order in which Cisco
NX-OS compares the paths:
1.
2.
3.
Step 3—Determining the Best-Path Change Suppression
The next part of the implementation is to determine whether Cisco NX-OS will use the new best path or
suppress the new best path. The router can continue to use the existing best path if the new one is
identical to the old path (if the router ID is the same). Cisco NX-OS continues to use the existing best
path to avoid route changes in the network.
You can turn off the suppression feature by configuring the best-path algorithm to compare the router
IDs. See the
configure this feature, the new best path is always preferred to the existing one.
You cannot suppress the best-path change if any of the following conditions occur:
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
5-6
When using the attribute originator as the router ID, it is possible that two paths have the same
router ID. It is also possible to have two BGP sessions with the same peer router, and therefore
you can receive two paths with the same router ID.
Cisco NX-OS selects the path with the shorter cluster length. If a path was not received with a cluster
list attribute, the cluster length is 0.
Cisco NX-OS chooses the path received from the peer with the lower IP address. Locally generated
paths (for example, redistributed paths) have a peer IP address of 0.
Cisco NX-OS partitions the paths into groups. Within each group Cisco NX-OS compares the MED
among all paths. Cisco NX-OS uses the same rules as in the
section on page 5-4
to determine whether MED can be compared between any two paths. Typically,
this comparison results in one group being chosen for each neighbor autonomous system. If you
configure the bgp bestpath med always command, then Cisco NX-OS chooses just one group that
contains all the paths.
Cisco NX-OS determines the best path in each group by iterating through all paths in the group and
keeping track of the best one so far. Cisco NX-OS compares each path with the temporary best path
found so far and if the new path is better, it becomes the new temporary best path and Cisco NX-OS
compares it with the next path in the group.
Cisco NX-OS forms a set of paths that contain the best path selected from each group in Step 2.
Cisco NX-OS selects the overall best path from this set of paths by going through them as in Step 2.
"Tuning the Best-Path Algorithm" section on page 6-8
The existing best path is no longer valid.
"Tuning the Best-Path Algorithm" section on page 6-8
for more information.
"Step 1—Comparing Pairs of Paths"
for more information. If you
Chapter 5
Configuring Basic BGP
"Load
for

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents