Configuring BGP4

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

Advertising the Default Information Originate

By default, the routing switch does not originate and advertise a default route using BGP4. A BGP4 default route is the IP address 0.0.0.0 and the route prefix 0 or network mask 0.0.0.0. For example, 0.0.0.0/0 is a default route. You can enable the routing switch to advertise a default BGP4 route using either of the following methods.

NOTE: The HP routing switch checks for the existence of an IGP route for 0.0.0.0/0 in the IP route table before creating a local BGP route for 0.0.0.0/0.

USING THE CLI

To enable the routing switch to originate and advertise a default BGP4 route, enter the following command:

HP9300(config-bgp-router)# default-information-originate

Syntax: [no] default-information-originate

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.Select Disable or Enable next to Default Information Originate.

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. Select Yes when prompted to save the configuration change to the startup-config file on the device’s flash memory.

Changing the Default MED (Metric) Used for Route Redistribution

The HP routing switch can redistribute RIP and OSPF routes into BGP4. The MED (metric) is a global parameter that specifies the cost that will be applied to all routes by default when they are redistributed into BGP4. When routes are selected, lower metric values are preferred over higher metric values. The default BGP4 MED value is 0 and can be assigned a value from 0 – 4294967295.

NOTE: RIP and OSPF also have default metric parameters. The parameters are set independently for each protocol and have different ranges.

USING THE CLI

To change the default metric to 40, enter the following command:

HP9300(config-bgp-router)# default-metric 40

Syntax: default-metric <num>

The <num> indicates the metric and can be a value from 0 – 4294967295.

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 - 29