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 the route by including the metric option. Enter a number from 1 to 16777215. 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 type1 ASE, the combination of the external cost and the cost to reach the ASBR is used.

 

 

For example:

 

 

(config)# ospf advertise 193.23.44.0 255.255.255.0 metric 3 type1

 

 

To stop advertising of the route as OSPF ASE through all OSPF interfaces, enter:

 

 

(config)# no ospf advertise 193.23.44.255.255.255.0

 

 

The following running configuration example illustrates the ospf advertise

 

 

command for OSPF advertising of VIP addresses and an IP address. Comments are

 

 

preceded by an exclamation point (!).

 

 

!*************************** GLOBAL ***************************

 

 

ospf enable

 

 

ospf advertise 1.1.1.10

 

 

!advertise redundant VIP

 

 

ospf advertise 2.1.1.1

 

 

!advertise IP address of service s1

 

 

ospf advertise 1.1.1.100

 

 

!advertise IP address of critical service c100

 

 

ospf advertise 99.99.99.99

 

 

!advertise simple IP address, not tied to anything

 

 

record

 

 

!************************** CIRCUIT **************************

 

 

circuit VLAN1

 

 

ip address 1.1.1.200 255.0.0.0

 

 

ip virtual-router 1

 

 

ip redundant-vip 1 1.1.1.10

 

 

!redundant VIP

 

 

ip critical-service 1 c100

 

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

 

 

 

 

 

 

OL-4580-01

 

 

3-19

 

 

 

Page 101
Image 101
Cisco Systems OL-4580-01 manual Preceded by an exclamation point, Config# no ospf advertise