Cisco Systems OL-4580-01 manual Enabling OSPF, Configuring an Area, 3-13

Models: OL-4580-01

1 186
Download 186 pages 41.96 Kb
Page 95
Image 95
Enabling OSPF

Chapter 3 Configuring Open Shortest Path First (OSPF)

Configuring OSPF on the CSS

Enabling OSPF

After you assign the router ID to the CSS, globally enable OSPF on the CSS. Use the ospf enable command to enable OSPF. For example:

(config)# ospf enable

To disable OSPF, enter:

(config)# no ospf enable

Configuring an Area

By default, the CSS is configured to the backbone area automatically. The backbone area has a reserved ID of 0.0.0.0. If the CSS is part of an area other than the backbone area, assign the CSS to that area.

Use the ospf area command to assign an area. Enter the ID in dotted-decimal notation (for example, 0.0.0.1). Although an area ID has the same form as an IP address, the area ID address space is its own distinct address space.

For example, if the CSS is in area 0.0.0.1, enter:

(config)# ospf area 0.0.0.1

If the CSS is in a stub area, include the stub option.

For example, if area 0.0.0.1 is a stub area, enter:

(config)# ospf area 0.0.0.1 stub

Optionally, for a stub area you can also:

Set a metric for the default route advertised in the stub area.

Propagate summary LSAs into the stub area.

To set a metric for the default route advertised in the stub area, include the default-metricoption. By default, the metric equals the smallest metric among the interfaces to other areas. You can assign an integer from 1 to 16777215.

For example, to assign a metric of 200, enter:

(config)# ospf area 0.0.0.1 stub default-metric 200

 

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

 

 

 

 

 

 

OL-4580-01

 

 

3-13

 

 

 

Page 95
Image 95
Cisco Systems OL-4580-01 manual Enabling OSPF, Configuring an Area, 3-13