253
Step Command
Remarks
2.
Enter BGP view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
N/A
3.
Configure BGP to protect an
EBGP peer or peer group
when the memory usage
reaches level 2 threshold.
peer
{
group-name
|
ip-address
}
low-memory-exempt
By default, BGP periodically tears
down an EBGP session to release
memory resources when level 2
threshold is reached.
To configure BGP to protect an EBGP peer or peer group when the memory usage reaches level 2
threshold (IPv6 unicast/multicast address family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
N/A
3.
Configure BGP to protect an
EBGP peer or peer group
when the memory usage
reaches level 2 threshold.
peer
{
group-name
|
ipv6-address
}
low-memory-exempt
By default, BGP tears down an
EBGP session to release memory
resources periodically when level
2 threshold is reached.
Configuring a large-scale BGP network
In a large network, the number of BGP connections is huge and BGP configuration and maintenance are
complicated. To simply BGP configuration, you can use the peer group, community, route reflector, and
confederation features as needed. For more information about configuring peer groups, see
"
Configuring a BGP peer group
."
Configuring BGP community
By default, a router does not advertise the COMMUNITY or extended community attribute to its peers or
peer groups. When the router receives a route carrying the COMMUNITY or extended community
attribute, it removes the attribute before advertising the route to other peers or peer groups.
Perform this task to enable a router to advertise the COMMUNITY or extended community attribute to its
peers for route filtering and control. You can also reference a routing policy to add or modify the
COMMUNITY or extended community attribute for specific routes. For more information about routing
policy, see "
Configuring routing policies
."
To configure BGP community (IPv4 unicast/multicast address family):