Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 56

Advertising
background image

28

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring confederations

Configure the local AS number. The local AS number indicates membership in a sub-AS. All
BGP4 devices with the same local AS number are members of the same sub-AS. BGP4 devices
use the local AS number when communicating with other BGP4 devices in the confederation.

Configure the confederation ID. The confederation ID is the AS number by which BGP4 devices
outside the confederation recognize the confederation. A BGP4 device outside the
confederation is not aware of, and does not care that BGP4 devices are in multiple sub-ASs. A
BGP4 device uses the confederation ID to communicate with devices outside the
confederation. The confederation ID must differ from the sub-AS numbers.

Configure the list of the sub-AS numbers that are members of the confederation. All devices
within the same sub-AS use IBGP to exchange device information. Devices in different sub-ASs
within the confederation use EBGP to exchange device information.

The following command examples show how to implement the confederation shown in

Figure 6

.

To configure four devices to be members of confederation 10 (consisting of sub-ASs 64512 and
64513), enter commands such as the following.

Commands for Device A

BrocadeA(config)# router bgp

BrocadeA(config-bgp)# local-as 64512

BrocadeA(config-bgp)# confederation identifier 10

BrocadeA(config-bgp)# confederation peers 64512 64513

BrocadeA(config-bgp)# write memory

Syntax: [no] local-as num

The num parameter with the local-as command indicates the AS number for the BGP4 devices
within the sub-AS. You can specify a number in the range 1 – 4294967295. It is recommended
that you use a number within the range of well-known private ASs, 64512 – 65535.

Syntax: [no] confederation identifier num

The num parameter with the confederation identifier command indicates the confederation
number. The confederation ID is the AS number by which BGP4 devices outside the confederation
recognize the confederation. A BGP4 device outside the confederation is not aware of, and does
not care that your BGP4 devices are in multiple sub-ASs. BGP4 devices use the confederation ID
when communicating with devices outside the confederation. The confederation ID must be
different from the sub-AS numbers. For the num parameter, you can specify a number in the range
1 – 4294967295.

Syntax: [no] confederation peers num [num …]

The num parameter with the confederation peers command indicates the sub-AS numbers for the
sub-ASs in the confederation. You can list all sub-ASs in the confederation. You must specify all the
sub-ASs with which this device has peer sessions in the confederation. All the devices within the
same sub-AS use IBGP to exchange device information. Devices in different sub-ASs within the
confederation use EBGP to exchange device information. The num is a number in the range 1 –
4294967295.

Commands for Device B

BrocadeB(config)# router bgp

BrocadeB(config-bgp)# local-as 64512

BrocadeB(config-bgp)# confederation identifier 10

BrocadeB(config-bgp)# confederation peers 64512 64513

BrocadeB(config-bgp)# write memory

Advertising