When the memory size reaches the lower threshold (use
the show memory command to show the lower threshold
value), a routing protocol will be disabled to release the
memory resources to ensure the operation of other
protocols.
The user shall know that what routing protocols support
the major services in the network. When the memory
lacks, the user is able to disable the least important
protocol to ensure the operation of major services.
For example, in a user network, BGP route is irrelevant to
the network core services. The user can configure the
BGP exit-policy when the memory lacks.
Specifying the disabled routing protocol to take
precedence to exit the policy can not help the system
obtain enough memory resources.
The exit-policy is used to protect the
important network services to some
degree when the system memory lacks. All
routing protocols will exit and stop running
if more memory resources are exhausted.
2 minutes later, the routing protocol will be
attempting to restart.
This example shows how to enable the BGP to exit from
the policy prior to other protocols:
Ruijie(config)# memory-lack exit-policy bgp