Configuring BGP4

The match internal external1 external2 parameter applies only to OSPF. This parameter specifies the types of OSPF routes to be redistributed into BGP4.

USING THE WEB MANAGEMENT INTERFACE

Use the procedure in “Redistributing RIP Routes” on page 10-41.

Redistributing Static Routes

To configure the routing switch to redistribute static routes, enter the following command:

HP9300(config-bgp-router)# redistribute static

Syntax: redistribute static [metric <num>] [route-map <map-name>] [weight <num>]

The static parameter indicates that you are redistributing static 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.

USING THE WEB MANAGEMENT INTERFACE

Use the procedure in “Redistributing RIP Routes” on page 10-41.

Disabling or Re-Enabling Re-Advertisement of All Learned BGP4 Routes to All BGP4 Neighbors

By default, the routing switch re-advertises all learned best BGP4 routes to BGP4 neighbors, unless the routes are discarded or blocked by route maps or other filters.

If you want to prevent the routing switch from re-advertising a learned best BGP4 route unless that route also is installed in the IP route table, use the following CLI method.

USING THE CLI

To disable re-advertisement of BGP4 routes to BGP4 neighbors except for routes that the software also installs in the route table, enter the following command:

HP9300(config-bgp-router)# no readvertise

Syntax: [no] readvertise

To re-enable re-advertisement, enter the following command:

HP9300(config-bgp-router)# readvertise

USING THE WEB MANAGEMENT INTERFACE

You cannot configure this parameter using the Web management interface.

Redistributing IBGP Routes into RIP and OSPF

By default, the routing switch does not redistribute IBGP routes from BGP4 into RIP or OSPF. This behavior helps eliminate routing loops. However, if your network can benefit from redistributing the IBGP routes from BGP4 into OSPF or RIP, you can enable the routing switch to redistribute the routes. To do so, use the following CLI method.

USING THE CLI

To enable the routing switch to redistribute BGP4 routes from BGP4 into OSPF and RIP, enter the following command:

HP9300(config-bgp-router)# bgp-redistribute-internal

10 - 43