Use this command to allow OSPF to enter the OVERFLOW state when the memory lacks. Use the no
form of this command to disable this function.
The action of OSPF entering the OVERFLOW state is to discard the newly-learned external route and
effectively prevent the memory from increasing.
It is possible that enabling this function causes the route loop in the whole network. To reduce that
possibility, OSPF will generate a default route directing to the NULL port and this default route will
exist in the OVERFLOW state.
Use the clear ip ospf process command to reset the OSPF and remove the OSPF OVERFLOW
state.
Use the no form of this command to prevent the OSPF to enter the OVERFLOW state when the
memory is insufficient, which may result in the constantly consumption of the memory resources. If
the memory is exhausted to some degree, the OSPF instance will stop and all learned routes will be
removed.
The following example prevents the OSPF from entering the OVERFLOW state when the memory is
insufficient.
Ruijie(config)# router ospf 1
Ruijie(config-router)# no overflow memory-lack