368
# In BGP IPv6 unicast address family view, enable BGP to exchange labeled IPv6 routes with peer
2.2.2.2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv6
[Sysname-bgp-ipv6] peer 2.2.2.2 label-route-capability
peer low-memory-exempt
Use
peer low-memory-exempt
to configure BGP to protect EBGP peer or peer group when the memory
usage reaches level 2 threshold.
Use
undo
peer low-memory-exempt
to restore the default.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
low-memory-exempt
undo
peer
{
group-name
|
ip-address
|
ipv6-address
}
low-memory-exempt
Default
When the memory usage reaches level 2 threshold, BGP tears down an EBGP session to release memory
resources periodically.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name
: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address
: Specifies a peer by its IP address. The peer must have been created.
ipv6-address
: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
Memory usage includes the following levels of thresholds: normal, level 1, level 2, and level 3. When
level 2 threshold is reached, BGP tears down an EBGP session to release memory resources periodically
until the memory usage is exempt from level 2 threshold. You can use this command to avoid tearing
down the BGP session with a specific EBGP peer when memory usage reaches level 2 threshold.
For more information about thresholds, see
Fundamentals Configuration Guide
.
Examples
# In BGP view, configure BGP to protect EBGP peer 1.1.1.1 when the memory usage reaches level 2
threshold.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 200
[Sysname-bgp] peer 1.1.1.1 low-memory-exempt
# In BGP-VPN instance view, configure BGP to protect EBGP peer 1.1.1.1 when the memory usage reaches
level 2 threshold.