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
To implement BGP session soft-reset when the local router and a peer or peer group do not support the
route refresh function, use the peer keep-all-routes command to save all route updates received from the
peer or peer group. After modifying the route selection policy, filter all saved routes with the new policy
to refresh the routing table. This method avoids tearing down BGP sessions.
Examples
# In BGP IPv4 unicast instance view, save all route updates from peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] peer 1.1.1.1 keep-all-routes
# In BGP-VPN IPv4 unicast instance view, save all route updates from peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 keep-all-routes
# In BGP IPv6 unicast instance view, save all route updates from peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] peer 1::1 keep-all-routes
Related commands
peer capability-advertise route-refresh
•
refresh bgp ipv4 unicast
•
refresh bgp ipv6 unicast
•
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
289