Command Reference Protocol-independent Configuration Commands
6.25 memory-lack exit-policy
Use this command to configure a policy to preferentially exit a routing protocol when the memory
reaches the lower limit. Use the no form of this command to restore the default policy, namely, exit the
routing protocol which occupies the largest memory.
memory-lack exit-policy { ospf | rip }
no memory-lack exit-policy
Preferentially exit OSPF when the memory is insufficient.
Preferentially exit RIP when the memory is insufficient.
By default, the routing protocol which occupies the largest memory exits preferentially.
Global configuration mode
When the memory reaches the lower limit, you can disable a routing protocol to release the memory to
ensure the normal running of other protocols.
When the system runs out of memory, disable a routing protocol which has the minimal impact on the
system to ensure the operation of main services.
Configuring the policy to preferentially exit the routing protocols which are disabled cannot help the
system release memory.
This command ensures the operation of main services to some extent when the memory is insufficient.
If the memory is further consumed, all routing protocols will exit and stop running.