7-1. maximum-paths number-of-paths

Syntax Description:

  • number-of-paths— Number of BGP learned paths to the same destination that will be installed in the IP routing table. The value can be 1 to 6.

Purpose: By default, BGP installs only the best path to a destination in the IP routing table. The maximum-paths command allows up to six paths to the same destination to be installed in the IP routing table.

IOS Release: 11.2

Configuration Example

In Figure 7-1, Router A is learning two paths to network 172.17.1.x via EBGP. By default, BGP will install only one of these paths in the IP routing table. If all the attributes of the paths are equal, such as MED, Local Preference, and Weight, the route that will be installed is the one learned from the ...

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.