Chapter 7: Second Level Commands June 30, 2006
7-62 SG1-UM-8500-03
Using the ip ospf area stub command
This command configures an OSPF area as a stub area. The system default stubbing option is no-stub and the
system default advertisement behavior is summary.
Usage
ip ospf area <area-id> [stub | no-stub] [no-summary | summary]
Parameter(s)
<area-id>
OSPF identifier of the area the identifier specified (as a value or an IP address).
Example(s)
Using the no ip ospf area stub command
The command disables OSPF stub area functionality.
Usage
no ip ospf area <area-id> stub
For parameters and examples, refer to “Using the ip ospf area stub command” on page7-62.
Using the ip ospf advertise network command
This command defines advertisement of an entire network per area.
Usage
ip ospf advertise network <area-id> <network> <mask>
Parameter(s)
Table 7-16. ip ospf advertise network command
Example(s)
Host(config)# ip ospf area
Host(config)# ip ospf area 1.2.3.5 stub no-summary
Host(config)# ip ospf area 1.2.3.5 stub summary
Host(config)# no ip ospf area ... stub
Host(config)# ip ospf advertise network
Parameter Description Legal values/range
<area-id> OSPF Identifier of the area specified as an IP address. IP address
<network> Advertised network. IP address
<mask> Network mask. Mask
Host(config)# ip ospf advertise-network 1.2.3.4 22.32.55.4 255.255.255.0