Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
6-28
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
Configuring Load Sharing and ECMP
You can configure the maximum number of paths that BGP adds to the route table for equal-cost
multipath load balancing.
To configure the maximum number of paths, use the following command in router address-family
configuration mode:
Configuring Maximum Prefixes
You can configure the maximum number of prefixes that BGP can receive from a BGP peer. If the
number of prefixes exceeds this value, you can optionally configure BGP to generate a warning message
or tear down the BGP session to the peer.
To configure the maximum allowed prefixes for a BGP peer, use the following command in neighbor
address-family configuration mode:
Configuring Dynamic Capability
You can configure dynamic capability for a BGP peer.
To configure dynamic capability, use the following command in neighbor configuration mode:
Command Purpose
maximum-paths [ibgp] maxpaths
Example:
switch(config-router-af)# maximum-paths 12
Configures the maximum number of equal-cost
paths for load sharing. The range is from 1 to 16.
The default is 1.
Command Purpose
maximum-prefix maximum [threshold]
[restart time | warming-only]
Example:
switch(config-router-neighbor-af)#
maximum-prefix 12
Configures the maximum number of prefixes from
a peer. The parameter ranges are as follows:
• maximum—The range is from 1 to 300000.
• Threshold—The range is from 1 to 100
percent. The default is 75 percent.
• time—The range is from 1 to 65535 minutes.
This command triggers an automatic notification
and session reset for the BGP neighbor sessions if
the prefix limit is exceeded.
Command Purpose
dynamic-capability
Example:
switch(config-router-neighbor)#
dynamic-capability
Enables dynamic capability. This command
triggers an automatic notification and session reset
for the BGP neighbor sessions.
This command is disabled by default.