Chapter 3 Configuring Open Shortest Path First (OSPF)

Configuring OSPF on the CSS

Optionally, you can define any of the following:

The network cost for an OSPF default route by including the metric option. If a default route metric is defined, the router advertises itself as the default router to the area. Enter a number from 1 to 16,777,215. The default is 1.

A 32-bit tag value to advertise each external route by including the tag option. The 32-bit tag value is not used by the OSPF protocol itself. You can use the tag value to communicate information between ASBRs.

The advertised routes as ASE type1 by including the type1 option. By default, the type is ASE type2. The difference between type1 and type2 is how the cost is calculated. For a type2 ASE, only the external cost (metric) is used when comparing multiple paths to the same destination. For type 1 ASE, the combination of the external cost and the cost to reach the ASBR is used.

For example:

(config)# ospf default metric 10 type1

To stop advertising the default ASE routes originated through OSPF, enter:

(config)# no ospf default

Advertising Other Routes Through OSPF

To advertise routes from other protocols, such as firewall, local, RIP, and static routes through OSPF, use the ospf redistribute command. Redistribution of these routes makes them OSPF external routes.

To redistribute routes from other protocols, include one of the following options:

firewall - Advertises firewall routes through OSPF

local - Advertises local routes (interfaces not running OSPF)

rip - Advertises RIP routes through OSPF

static - Advertises static routes configured for the Ethernet interface ports. The ospf redistribute static command does not advertise static routes configured for the Ethernet management port.

To advertise a firewall route, enter:

(config)# ospf redistribute firewall

 

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

 

 

 

 

 

 

OL-4580-01

 

 

3-21

 

 

 

Page 103
Image 103
Cisco Systems OL-4580-01 manual Advertising Other Routes Through Ospf, Config# ospf default metric 10 type1