Mode
Router configuration:
Examples
This example sets the address range used by this router for summarized routes learned at the
boundary of area 0.0.0.0, as 172.16.0.0/16:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip address 172.16.16.1 255.255.240.0
XSR(config)#router ospf 1
XSR(config-router)#network 172.16.16.1 0.0.0.0 area 0.0.0.0
XSR(config-router)#area range 0.0.0.0 172.16.0.0 255.255.0.0
The following example aggregates 64.64.64.0/24 in area 1 into summary route 64.0.0.0/8 and makes
the summary available for creation of inter‐area routes:
XSR(config)#router ospf 1
XSR(config-router)#area 1 range 64.0.0.0 255.0.0.0
area stub
This command defines an area as a stub area.
Syntax
area area-id stub [no-summary]
area-id
no-summary
Syntax of the "no" Form
The no form of this command changes the stub back to a plain area:
no area area-id stub [no-summary]
Mode
Router configuration:
Defaults
Disabled
Example
The following example defines area 10 as a stub area:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip address 172.16.152.1 255.255.255.0
XSR(config-if<F1>)#exit
XSR(config-router)#
Stub area expressed in decimals or IP addresses.
Bars an ABR from sending LSAs into the stub area. When used, this value
means all destinations outside the stub area are represented via a default
route.
XSR(config-router)#
OSPF Commands
XSR CLI Reference Guide 5-87