Advanced Configuration and Management Guide

USING THE CLI

To configure four routing switches to be a member of confederation 10, consisting of two sub-ASs (64512 and 64513), enter commands such as the following.

Commands for Router A

HP9300A(config)# router bgp

HP9300A(config-bgp-router)# local-as 64512

HP9300A(config-bgp-router)# confederation identifier 10

HP9300A(config-bgp-router)# confederation peers 64512 64513

HP9300A(config-bgp-router)# write memory

Syntax: local-as <num>

The <num> parameter with the local-ascommand indicates the AS number for the BGP routers within the sub- AS. You can specify a number from 1 – 65535. HP recommends that you use a number within the range of well­ known private ASs, 64512 – 65535.

Syntax: confederation identifier <num>

The <num> parameter with the confederation identifier command indicates the confederation number. The confederation ID is the AS number by which BGP routers outside the confederation know the confederation. Thus, a BGP router outside the confederation is not aware and does not care that your BGP routers are in multiple sub-ASs. BGP routers use the confederation ID when communicating with routers outside the confederation. The confederation ID must be different from the sub-AS numbers. You can specify a number from 1 – 65535.

Syntax: 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 must specify all the sub-ASs contained in the confederation. All the routers within the same sub-AS use IBGP to exchange router information. Routers in different sub-ASs within the confederation use EBGP to exchange router information. You can specify a number from 1 – 65535.

Commands for Router B

HP9300B(config)# router bgp

HP9300B(config-bgp-router)# local-as 64512

HP9300B(config-bgp-router)# confederation identifier 10

HP9300B(config-bgp-router)# confederation peers 64512 64513

HP9300B(config-bgp-router)# write memory

Commands for Router C

HP9300C(config)# router bgp

HP9300C(config-bgp-router)# local-as 64513

HP9300C(config-bgp-router)# confederation identifier 10

HP9300C(config-bgp-router)# confederation peers 64512 64513

HP9300C(config-bgp-router)# write memory

Commands for Router D

HP9300D(config)# router bgp

HP9300D(config-bgp-router)# local-as 64513

HP9300D(config-bgp-router)# confederation identifier 10

HP9300D(config-bgp-router)# confederation peers 64512 64513

HP9300D(config-bgp-router)# write memory

USING THE WEB MANAGEMENT INTERFACE

1.Log on to the device using a valid user name and password for read-write access. The System configuration panel is displayed.

2.Click on the plus sign next to Configure in the tree view to expand the list of configuration options.

3.Click on the plus sign next to BGP in the tree view to expand the list of BGP option links.

4.Click on the General link to display the BGP configuration panel, shown in Figure 10.2 on page 10-8.

10 - 38