160 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
The default value normally meets the network requirements. You should be
careful when modifying the configuration to avoid reducing the stability of the
network.
Limiting Route Capacity The size of the routing table is determined by BGP and OSPF routes. Therefore, the
route capacity limitation of the Switch 8800 is only effective for these two types of
routes and has no impact on static routes and other dynamic routing protocols.
When the free memory of a Switch 8800 reduces to the lower limit value, the
system will disconnect BGP and OSPF and remove their routes from the routing
table to release memory. The system checks the free memory periodically. When
enough free memory is detected to restore the safety value, BGP and OSPF
connection is restored.
Configuring Route
Capacity
Route capacity configuration includes tasks described in the following sections:
■ Setting the Lower Limit and the Safety Value Simultaneously
■ Enabling and Preventing Automatic Recovery of Disconnected Routing
Protocols
■ Displaying and Debugging Route Capacity
Setting the Lower Limit and the Safety Value Simultaneously
When you need to modify both the lower limit and the safety value of the switch
memory, you can (and are recommended to) simultaneously modify the two
configurations.
You can also restore the lower limit and the safety value of the switch memory to
the default value at the same time if it is necessary.
Perform the following configuration in the system view.
The default values of the lower limit and the safety value of the switch memory are
2Mbytes and 4Mbytes, respectively.
Note that safety-value must have a higher value than limit-value.
Enabling and Preventing Automatic Recovery of Disconnected Routing
Protocols
If the automatic memory restoration function of a switch is disabled, connection
of routing protocols will not be restored even if the free memory returns to the
safety value.
Table 140 Setting the Lower Limit and the Safety Value of the Switch Memory
Simultaneously
Operation Command
Set the lower limit and the safety value of the
switch memory simultaneously
memory safety safety-value limit limit-value
Restore the lower limit and the safety value of
the switch memory to the default value
undo memory [ safety | limit ]