Advanced Configuration and Management Guide

NOTE: The maximum number of BGP4 load sharing paths cannot be greater than the maximum number of IP load sharing paths. To increase the maximum number of IP load sharing paths, use the ip load sharing <num> command at the global CONFIG level of the CLI or use the # of Paths field next to Load Sharing on the IP configuration panel of the Web management interface.

USING THE CLI

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

HP9300(config)# router bgp

HP9300(config-bgp-router)# maximum-paths 4

HP9300(config-bgp-router)# write memory

Syntax: [no] maximum-paths <num>

The <num> parameter specifies the maximum number of paths across which the routing switch can balance traffic to a given BGP4 destination. You can change the maximum number of paths to a value from 2 – 4. The default is 1.

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.

5.Edit the number in the # of Paths field if needed. You can specify from 1 – 4 paths. The default is 1. You cannot set the maximum number of BGP4 paths to a number higher than the IP load sharing maximum number of paths.

6.Click the Apply button to apply the changes to the device’s running-config file.

7.Select the Save link at the bottom of the dialog, then select Yes when prompted to save the configuration change to the startup-config file on the device’s flash memory.

Specifying a List of Networks to Advertise

By default, the routing switch sends BGP4 routes only for the networks you identify using the network command or that are redistributed into BGP4 from RIP or OSPF. You can specify up to 600 networks.

To specify a network to be advertised, use either of the following methods.

NOTE: The exact route must exist in the IP route table before the routing switch can create a local BGP route.

USING THE CLI

To configure the routing switch to advertise network 209.157.22.0/24, enter the following command:

HP9300(config-bgp-router)# network 209.157.22.0 255.255.255.0

Syntax: network <ip-addr> <ip-mask> [route-map <map-name>] [weight <num>] [backdoor]

The <ip-addr> is the network number and the <ip-mask> specifies the network mask.

The route-map<map-name> parameter specifies the name of the route map you want to use to set or change BGP4 attributes for the network you are advertising. The route map must already be configured.

The weight <num> parameter specifies a weight to be added to routes to this network.

The backdoor parameter changes the administrative distance of the route to this network from the EBGP administrative distance (20 by default) to the Local BGP weight (200 by default), thus tagging the route as a backdoor route. Use this parameter when you want the routing switch to prefer IGP routes such as RIP or OSPF routes over the EBGP route for the network.

10 - 26