Use this task to control which BGP neighbors contribute multipath routes in your network, improving path management and stability.
Before you begin
Configure your network topology with iBGP or eBGP before enabling selective multipath.
Follow these steps to configure BGP selective multipath on router R4.
Procedure
|
1. |
Enter BGP address-family configuration and set maximum selective multipaths.
-
Configure selective multipath for iBGP and eBGP.
Example:
Router(config)# router bgp 1
Router(config-bgp)# address-family ipv4 unicast
Router(config-bgp-af)# maximum-paths ibgp 4 selective
Router(config-bgp-af)# maximum-paths ebgp 5 selective
Router(config-bgp-af)# commit
-
Configure selective multipath for eiBGP.
Example:
Router(config)# router bgp 1
Router(config-bgp)# address-family ipv4 unicast
Router(config-bgp-af)# maximum-paths eibgp 6 selective
Router(config-bgp-af)# commit
Choose the right configuration based on your network topology.
|
|
2. |
Configure neighbors for selective multipath.
-
For neighbors eligible for multipath, R1 and R2:
Example:
Router(config-bgp)# neighbor 1.1.1.1
Router(config-bgp-nbr)# address-family ipv4 unicast
Router(config-bgp-nbr-af)# multipath
Router(config-bgp-nbr-af)# commit
Router(config-bgp-nbr)# neighbor 2.2.2.2
Router(config-bgp-nbr)# address-family ipv4 unicast
Router(config-bgp-nbr-af)# multipath
Router(config-bgp-nbr-af)# commit
-
For a neighbor not eligible for multipath, R3:
Example:
Router(config-bgp-nbr)# neighbor 3.3.3.3
Router(config-bgp-nbr)# address-family ipv4 unicast
Router(config-bgp-nbr-af)# commit
|