CLI Guide

Table Of Contents
Layer 3 Routing Commands 1696
advertise
[Optional] When this keyword is given, the summary prefix is
advertised when the area range is active. This is the default.
not-advertise
[Optional] When this keyword is given, neither the summary
prefix nor the contained prefixes are advertised when the area range is active.
Then the not-advertise option is given, any static cost previously configured is
removed from the system configuration.
cost
[Optional] If an optional cost is given, OSPF sets the metric field in the
summary LSA to the configured value, rather than setting the metric to the
largest cost among the networks covered by the area range. A static cost may only
be configured if the area range is configured to advertise the summary. The range
is 0 to 16,777,215. If the cost is set to 16,777,215 for type 3 summarization, a
type 3 summary LSA is not advertised, but contained networks are suppressed.
This behavior is equivalent to specifying the not-advertise option. If the range is
configured for type 7 to type 5 translation, a type 5 LSA is sent if the metric is set
to 16,777,215; however, other routers will not compute a route from a type 5
LSA with this metric.
Default Configuration
No area ranges are configured by default. No cost is configured by default.
Command Mode
OSPFv2 Router Configuration mode
User Guidelines
The no form of this command can be used to delete an area range. For
example:
!! Create area range
console (config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink
!! Delete area range
console (config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink
The no form may be used to revert the [advertise | not-advertise] option to
its default without deleting the area range. Deleting and recreating the area
range would cause OSPF to temporarily advertise the prefixes contained
within the range. Note that using either the advertise or not-advertise
keyword reverts the configuration to the default. For example:
!! Create area range. Suppress summary.