set protocols bgp multipath maximum-paths


The set protocols bgp multipath maximum-paths command configures the maximum number of paths that BGP adds to the route table for equal-cost multipath (ECMP) load balancing for routes learned from either internal or external BGP. Any changes in BGP configuration are applied by restarting the current BGP sessions on the VRFs.

The delete protocols bgp multipath maximum-paths command restores the default setting.


Command Syntax

set protocol bgp [vrf <vrf-name>] {ipv4-unicast | ipv6-unicast} multipath {ibgp | ebgp} maximum-paths <MAXPATHS>

delete  protocol bgp [vrf <vrf-name>{ipv4-unicast | ipv6-unicast} multipath {ibgp | ebgp} [maximum-paths]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

 {ipv4-unicast | ipv6-unicast}Specifies the IPv4 unicast or IPv6 unicast.
 {ibgp | ebgp}Specifies the  internal or external BGP.
<MAXPATHS>Specifies the maximum number of paths. You can set a value between 1 and 32. 1 disables the BGP multipath option.


Example
• This example changes the maximum number of paths to 12.

admin@XorPlus# set protocols bgp ipv4-unicast multipath ibgp maximum-paths 12
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.