The apply ospf command imports routes into the specific OSPF area.
The undo apply ospf command cancels the configuration.
By default, no route is imported to a specific OSPF area.
| Parameter | Description | Value |
|---|---|---|
| backbone | Imports routes into the OSPF backbone area. | - |
| stub-area | Imports routes into an OSPF not-so-stubby area (NSSA). | - |
Usage Scenario
The apply ospf command can be used to specify the OSPF backbone area or NSSA area to which routes are imported. This can prevent too many external routes from being imported into OSPF and bringing heavy stress on OSPF devices.
Prerequisites
The route-policy command has been run.
Configuration Impact
Routes matching the if-match clauses defined in the routing policy will be imported into the OSPF area specified in the command.