[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Setting the Maximum Number of Equal-Cost Multipaths
You can use the maximum-paths command to specify the number of equal-cost paths to the same destination
that BGP can submit to the IP routing table.
If you set the value to 1, the router installs
the single best route in the IP routing table. If you set the value
greater than 1, the router installs that number of parallel routes.
maximum-paths
- Use to set the maximum number of equal-cost multipaths.
- Specify a value in the range 1–16; the default value
is 1.
- If you do not specify a keyword, the maximum number applies
only to routes learned from external peers. If you specify the ibgp keyword, the maximum number applies only to routes
received from internal peers. If you specify the eibgp keyword (valid only for VRF IPv4 unicast or IPv6 unicast address
families), the maximum number applies to routes received from internal
peers and external peers.
- This command takes effect immediately; it does not bounce
the session.
- You can specify the maximum number of equal-cost multipaths
in the context of the virtual router, an IPv4 unicast or IPv6 unicast
address family, or a VRF specified in the context of an IPv4 unicast
or IPv6 unicast address family.
- This command is not supported for VPNv4 or VPNv6 address
families.
- Example 1
- host1(config-router)#maximum-paths 3
- Example 2
- host1:vr1(config-router-af)#maximum-paths
ibgp 5
- Use the no version to restore
the default value, 1.
- See maximum-paths.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]