IP Routing Features

 

Configuring OSPF

 

Enable Route Redistribution

 

 

N o t e

Do not enable redistribution until you have configured the redistribution

 

“restrict” filters. Otherwise, the network might get overloaded with routes that

 

you did not intend to redistribute.

 

To enable redistribution of connected and static IP routes into OSPF, enter

 

 

the following commands.

 

HPswitch(config)# router ospf

 

HPswitch(ospf)# redistribution connected

 

HPswitch(ospf)# redistribution static

 

HPswitch(ospf)# write memory

 

Syntax: [no] redistribution connected static

 

Modify Redistribution Metric Type

 

The redistribution metric type is used by default for all routes imported into

 

OSPF. Type 1 metrics are the same “units” as internal OSPF metrics and can

 

be compared directly. Type 2 metrics are not directly comparable, and are

 

treated as larger than the largest internal OSPF metric. The default value is

 

type 2.

 

To modify the default value to type 1, enter the following command:

 

HPswitch(config-ospf-router)# metric-type type1

 

Syntax: metric-type type1 type2

 

The default is type2.

 

Administrative Distance

 

HP Series 5300XL Switches can learn about networks from various protocols,

 

including RIP, and OSPF. Consequently, the routes to a network may differ

 

depending on the protocol from which the routes were learned. For the Series

 

5300XL Switches, the administrative distance for OSPF routes is set at 110.

 

The Series 5300XL Switch selects one route over another based on the source

 

of the route information. To do so, the Series 5300XL Switch can use the

 

administrative distances assigned to the sources.

16-49