You can set the maximum number of external routes in the LDSB to keep a proper number of external routes.
The system view is displayed.
The OSPF process view is displayed.
The maximum number of external routes supported by the OSPF LSDB is configured.
If the number of external routes imported by OSPF exceeds the configured maximum number, the device deletes self-generated non-default external routes to ensure the proper forwarding of other external routes.
The configuration is committed.