IP Routing Features

Configuring OSPF

 

Enable OSPF on the Series 5300XL Switch

 

When you enable OSPF on the Series 5300XL Switch, the protocol is automat­

 

ically activated. To enable OSPF on the Series 5300XL Switch, use the CLI

 

commands:

 

HPswitch(config)# ip routing

 

HPswitch(config)#router ospf

 

The first command enables routing on the Series 5300XL Switch. The second

 

command launches you into the OSPF router level where you can assign areas

 

and modify OSPF global parameters.

 

 

N o t e

Regarding Disabling OSPF. If you disable OSPF, the Series 5300XL Switch

 

retains all the configuration information for the disabled protocol in flash

 

memory. If you subsequently restart OSPF, that previous configuration will be

 

applied.

 

 

Assign OSPF Areas

Once OSPF is enabled on the system, you can assign areas. Assign an IP address or number as the area ID for each area. The area ID is representative of only the primary IP address. To include secondary addresses, you must enable OSPF on them separately, or use the “all” option in the assignment. Each VLAN interface on a Series 5300XL switch can support 16 areas.

An area can be normal or a stub.

Normal – Series 5300XL Switches within an OSPF normal area can send and receive External Link State Advertisements (LSAs).

Stub – Series 5300XL Switches within an OSPF stub area cannot send or receive External LSAs. In addition, the routing switches in an OSPF stub area must use a default route to the area’s Area Border Router (ABR) or Autonomous System Boundary Router (ASBR) to send traffic out of the area.

16-39