Defining the Current Area as a Stub Area
Procedure
- Run system-view
The system view is displayed.
- Run ospf [ process-id ]
The OSPF process view is displayed.
- Run area area-id
The OSPF area view is displayed.
- Run stub [ no-summary ]
The current area is configured as a stub area.
If the parameter no-summary is specified, an ABR is disabled from sending summary LSAs to a stub area. The parameter no-summary takes effect in the area only when the stub command is configured on an ABR.
To configure an area as a stub area, you need to run the stub command on all switches in the area.
AS external routes carried in Type 5 LSAs cannot be advertised within a stub area. Therefore, the switches in a stub area learn AS external routes from an ABR. The ABR automatically generates a summary LSA (Type 3 LSA) with the link state ID being 0.0.0.0 and the network mask being 0.0.0.0 and then advertises the LSA in the entire stub area.
- (Optional) Run stub default-route-advertise backbone-peer-ignore
The ABR is disabled from checking the neighbor status of the backbone area before it generates a Type 3 LSA carrying a default route and advertises it to the stub area.
- Run commit
The configuration is committed.