32
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
area range (OSPF)
area range (OSPF)
To consolidate and summarize routes at an Open Shortest Path First (OSPF) area boundary, use the area
range command. To disable this function, use the no form of this command.
area area-id range ip-prefix [not-advertise] [cost cost]
no area area-id range ip-prefix [not-advertise] [cost cost]
Syntax Description
Command Default Disabled
Command Modes Router configuration mode
Command History
Usage Guidelines Use the area range command only with Area Border Routers (ABRs) to consolidate or summarize
routes for an area. The ABR advertises that a single summary route is advertised to other areas and
condenses routing information at area boundaries.
You can configure OSPF to summarize addresses for many different sets of address ranges by
configuring multiple area range commands.
This command requires the LAN Base Services license.
Examples This example shows how to configure one summary route to be advertised by the ABR to other areas for
all hosts on network 192.0.2.0:
switch# configure terminal
switch(config-if)# interface ethernet 1/2
switch(config-if)# ip address 192.0.2.201 255.255.255.0
switch(config-if)# ip ospf area 201
switch(config-router)# area 0 range 192.0.2.0 255.255.0.0
switch(config-router)#
area-id Identifier for the OSPF area where you want to summarize routes. The
area ID can be from 0 to 4294967295 or an IP address.
cost (Optional) Specifies the cost to use during shortest path first (SPF)
calculation for the summarized route.
cost-value Cost value. The range is from 0 to 16777215.
ip-prefix IP prefix specified as IP address/subnet mask length (A.B.C.D/LEN).
not-advertise (Optional) Sets the address range status to DoNotAdvertise. The Type
3 summary LSA is suppressed, and the component networks remain
hidden from other networks.
Release Modification
5.0(3)A1(1) This command was introduced.