Technical data
184 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Setting the Safety Value for Switch Memory
When the amount of free memory is reduced to the safety value but has not
reached the lower limit, you can use the display memory limit command to see
how much free memory remains.
If automatic memory restoration is enabled, when the free memory of the
Ethernet switch exceeds the safety value, the disconnected BGP and OSPF will be
restored.
Perform the following configurations in system view.
By default, the safety value of the Ethernet switch memory is 4Mbytes.
The safety value of the memory must be larger than the lower limit value.
Setting the Lower Limit and the Safety Value Simultaneously
When you need to modify both the lower limit and the safety value of the
Ethernet 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 Ethernet 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 Ethernet switch
memory are 2Mbytes and 4Mbytes, respectively.
Note that safety-value must have a higher value than limit-value.
Preventing Automatic Recovery of Disconnected Routing Protocols
If the automatic memory restoration function of a Ethernet switch is disabled,
connection of routing protocols will not be restored even if the free memory
returns to the safety value.
Tab le 141 Setting the Safety Value of the Ethernet Switch Memory
Operation Command
Set the safety value of the Ethernet switch
memory
memory safety value
Tab le 142 Setting the Lower Limit and the Safety Value of the Ethernet Switch Memory
Simultaneously
Operation Command
Set the lower limit and the safety value of the
Ethernet switch memory simultaneously
memory safety safety-value limit limit-value
Restore the lower limit and the safety value of
the Ethernet switch memory to the default
value
undo memory [ safety | limit ]