Setting the local as number, Configuring bgp4 multipath load sharing, Customizing bgp4 multipath load sharing – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 239

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

225

53-1003246-01

Setting the local AS number

8

To enable fast external fallover, enter the following command.

Virtual ADX(config-bgp-router)# fast-external-fallover

To disable fast external fallover again, enter the following command.

Virtual ADX(config-bgp-router)# no fast-external-fallover

Syntax: [no] fast-external-fallover

Setting the local AS number

The local autonomous system number (ASN) identifies the AS in which the BGP4 device resides.

To set the local AS number, enter commands such as the following.

Virtual ADX(config)# router bgp

BGP4: Please configure 'local-as' parameter in order to enable BGP4.

Virtual ADX(config-bgp-router)# local-as 10

Virtual ADX(config-bgp-router)# write memory

Syntax: [no] local-as num

The num parameter specifies a local AS number in the range 1 – 4294967295. It has no default.
AS numbers 64512 – 65535 are the well-known private BGP4 AS numbers and are not advertised
to the Internet community.

Configuring BGP4 multipath load sharing

To change the maximum number of BGP4 shared paths, enter commands such as the following.

Virtual ADX(config)# router bgp

Virtual ADX(config-bgp-router)# maximum-paths 4

Virtual ADX(config-bgp-router)# write memory

Syntax: [no] maximum-paths number | use-load-sharing

The number parameter specifies the maximum number of paths across which the device can
balance traffic to a given BGP4 destination. You can change the maximum number of paths to a
value from 2 – 8. The default is 1.

When the use-load-sharing option is used in place of the number variable, the maximum IP ECMP
path value is determined solely by the value configured using the ip load-sharing command.

Customizing BGP4 multipath load sharing

By default, when BGP4 Multipath load sharing is enabled, both IBGP and EBGP paths are eligible
for load sharing, while paths from different neighboring ASs are not eligible. You can change load
sharing to apply only to IBGP or EBGP paths, or to support load sharing among paths from different
neighboring ASs.

To enable load sharing of IBGP paths only, enter the following command at the BGP4 configuration
level of the CLI.

Virtual ADX(config-bgp-router)# multipath ibgp

Advertising