You can set a priority that determines the disconnection order of a BGP peer relationship upon memory overload. If the system memory usage exceeds the alarm threshold and the BGP memory usage is excessively high, such configurations allow BGP peer relationships to be disconnected in order of priority. This prevents BGP from exhausting the memory.
If BGP consumes excessive memory resources, a board reset may occur. To prevent this issue, you can set a priority that determines the disconnection order of a BGP peer relationship upon memory overload. Memory overload here means that the system memory usage exceeds the alarm threshold and the BGP memory usage is excessively high. If this occurs, the BGP peer relationships are disconnected in order of priority to release memory. This ensures that the system operates as normal. A lower priority indicates that the associated peer relationship will be disconnected first.
The system view is displayed.
BGP is started (with the local AS number specified), and the BGP view is displayed.
The IP address of a peer and the number of the AS where the peer resides are specified.
The BGP-IPv4 unicast address family view is displayed.
A priority is set, which determines the disconnection order of the specified BGP peer relationship if memory overload occurs.
The configuration is committed.