home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

protocols ospf area <area-id> area-type stub <action>

Designates an OSPF area as a stub area.

set protocols ospf [ process pid ] area area-id area-type stub { default-cost cost | no-summary }
delete protocols ospf [ process pid ] area area-id area-type stub [ default-cost | no-summary ]
show protocols ospf [ process pid ] area area-id area-type stub [ default-cost ]

By default, summary routes are generated into the area.

process pid
Specifies the PID of an IPv4 OSPF process.
area-id
The ID of the OSPF area being configured, expressed as an IP address or a decimal value.
default-cost cost
Sets the administrative cost, or metric, that applies to the default route in the specified OSPF area. The cost ranges from 0 through 6777215.
no-summary
Prevents route summaries from being generated into the area.

Configuration mode

protocols {
       ospf {
               process pid {
                      area area-id {
                              area-type {
                                      stub {
                                             default-cost cost
                                             no-summary
                                      }

                              }
                      }
               }
       }
}

Use this command to designate an OSPF area as a stub area. No Type 5 AS-External-LSAs are allowed into a stub area.

Use the set form of this command to set the OSPF area type to stub.

Use the delete form of this command to remove area type configuration.

Use the show form of this command to display an area type configuration.