Configuration Guide Vol. 3


29.5.3 BGP4 + multipath configuration

<Structure of this section>

(1) List of configuration commands

The following tables list the commands used to configure BGP4 + multipath.

Table 29-11: List of configuration commands

Command name

Description

bgp always-compare-med

Enables comparison of the MED attribute of routes learned from different ASs. (If this command has not been set, you cannot set the all-as parameter in the maximum-paths command.)

maximum-paths

Sets the maximum number of paths to a given destination.

(2) Configuring Multipathing for BGP4+

Points to note

To specify the all-as parameter in the maximum-paths command, you must first set the bgp always-compare-med command.

Command examples

  1. (config)# router bgp 65531

    (config-router)# bgp router-id 192.168.1.100

    (config-router)# neighbor 3ffe:172:16:2::2 remote-as 65532

    (config-router)# neighbor 3ffe:172:17:2::2 remote-as 65533

    Configures the peers that will participate in multipath routing. In this example, the routes learned from AS65532 and AS65533 will be alternative paths in a multipath route.

  2. (config-router)# address-family ipv6

    Places the router in config-router-af (ipv6) mode.

  3. (config-router-af)# bgp always-compare-med

    (config-router-af)# maximum-paths 4 all-as

    Specifies that a maximum of four paths, including paths learned from different ASs, can be in a multipath.

  4. (config-router-af)# neighbor 3ffe:172:16:2::2 activate

    (config-router-af)# neighbor 3ffe:172:17:2::2 activate

    Enables the IPv6 address family.