Command Reference Guide
Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 560
HP Moonshot Switch Module CLI Command Reference
no area range
The no form of this command deletes a specified area range or reverts an option to its default.
Example: The following shows an example of the command.
!! Create area range
(Router) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink
!! Delete area range
(Router) (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.
(Router) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink not-advertise
!! Advertise summary.
(Router) (Config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink not-advertise
The no form may be use to remove a static area range cost, so that OSPF sets the cost to the largest cost among
the contained routes.
!! Create area range with static cost.
(Router) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink cost 1000
!! Remove static cost.
(Router) (Config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink cost
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.
Format
no area areaid range ip-address netmask {summarylink | nssaexternallink} [advertise |
not-advertise] [cost]
Mode OSPFv2 Router Configuration
Parameter Description