The no form of this command deletes a specified area range or reverts an option to its default.
.
| Format | no area areaid range prefix netmask {summarylink | nssaexternallink} [advertise | not-advertise] [cost] |
| Mode | OSPFv2 Router Configuration |
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 used 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