Advanced Configuration and Management Guide

5.Select the source of the routes you want to redistribute into BGP4. You can select RIP, OSPF, Static, or Connected (directly attached) routes.

6.Optionally enter a metric for the redistributed routes in the Metric field. You can specify a value from 0 – 4294967295. The default is 0.

7.Optionally select a route map from the Map field’s pulldown list.

NOTE: The route map must already be defined. See “Defining Route Maps” on page 10-59for information on defining a route map.

8.Optionally enter a weight for the redistributed routes in the Weight field. You can specify a value from 0 – 65535. The default is 0.

9.For OSPF routes, select one of the following to specify the types of OSPF routes to be redistributed into BGP4:

Internal

External 1

External 2

10.Click the Add button to apply the changes to the device’s running-config file.

11.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.

Redistributing OSPF Routes

To configure the routing switch to redistribute OSPF external type 1 routes, enter the following command:

HP9300(config-bgp-router)# redistribute ospf match external1

Syntax: redistribute ospf [metric <num>] [route-map <map-name>] [weight <num>] [match internal external1 external2]

The ospf parameter indicates that you are redistributing OSPF routes into BGP4.

The metric <num> parameter changes the metric. You can specify a value from 0 – 4294967295. The default is 0.

The route-map<map-name> parameter specifies a route map to be consulted before adding the filter to the IP route table.

NOTE: The route map you specify must already be configured on the router. See “Defining Route Maps” on page 10-59for information about defining route maps.

The weight <num> parameter changes the weight. You can specify a value from 0 – 65535. The default is 0.

10 - 42