Command Reference OSPFv2 Commands
Use this command to enable adding the discard-route into the core route table. Use the no form of
this command to disable this function.
discard-route { internal | external }
no discard-route { internal | external }
Enables adding the discard-route generated with the area range
command
Enables adding the discard-route generated with the
summary-address command.
Adding the discard-route is enabled by default.
Routing process configuration mode
After route aggregation, the range may exceed the actual network range of the route table, and
sending the data to the nonexistent network may cause loops or increase router loads. To prevent
this situation, the discard-route is added to the route table on the ABR or the ASBR. The
discard-route is generated automatically and will not be transmitted.
The following example disables adding the discard routes generated with the area range command.
Ruijie(config)# router ospf 1
Ruijie(config-router)# no discard-route internal
Configures the route aggregation between
OSPF areas.
Configures the route aggregation out of the
OSPF routing domain.