Usage Scenario
If BGP consumes excessive memory resources and memory resources are exhausted, a board reset occurs. To prevent this issue, run the peer memory-priority command to set a priority that determines the disconnection order of each BGP peer relationship in a specified group upon memory overload. Memory overload in this case means that the system memory usage exceeds the alarm threshold and BGP's memory usage is excessively high. If this occurs, the BGP peer relationships in different groups are disconnected in the order of priorities set for these groups to release memory. A lower priority indicates that the BGP peers relationships in the associated peer group are disconnected first. It is recommended that the priority be set to high for an important BGP peer relationship to prevent the peer relationship from being disconnected immediately upon memory overload.
Precautions
If the peer memory-priority command has been run on the local device, the priority set for the peer still takes effect after the peer is added to a peer group regardless of the priority set for this group.
If the
peer memory-priority command is not run on the local device, a peer uses the priority set for each member in a peer group after the peer is added to the peer group. The group-based priority setting is still effective for the peer after it is removed from the group.