233
Tuning and optimizing MBGP networks
This task involves resetting MBGP connections and configuring load balancing.
Configuration prerequisites
Before you configure this task, configure basic MBGP functions.
Configuring MBGP soft reset
After modifying a route selection policy, you have to reset MBGP connections to make it take effect.
The current MBGP implementation supports the route refresh feature that enables dynamic route
refresh without terminating MBGP connections.
However, if a peer that does not support route refresh exists in the network, you must configure the
peer keep-all-routes
command to save all routes from the peer. When the routing policy is changed,
the system updates the MBGP routing table and applies the new policy.
Performing soft reset through route refresh
If the peer is enabled with route refresh, when the MBGP route selection policy is modified on a
router, the router advertises a route-refresh message to its MBGP peers, which resend their routing
information to the router after receiving the message. Therefore, the local router can perform
dynamic route update and apply the new policy without terminating MBGP connections.
To perform soft reset through route refresh:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enable BGP route refresh for
a peer or a peer group.
peer
{
group-name
|
ip-address
}
capability-advertise
route-refresh
Optional.
Enabled by default.
Performing soft reset manually
If the peer does not support route refresh, you can use the
peer keep-all-routes
command to save
all the route updates from the peer. Then, use the
refresh bgp ipv4 multicast
command to refresh
the MBGP routing table and apply the new policy without terminating MBGP connections.
To perform a manual soft reset:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Disable BGP route refresh
and multiprotocol extensions
for a peer or a peer group.
peer
{
group-name
|
ip-address
}
capability-advertise
conventional
Optional.
Enabled by default.
4.
Enter IPv4 MBGP address
family view.
ipv4-family multicast
N/A
5.
Keep all original routes from
a peer or a peer group
regardless of whether they
peer
{
group-name
|
ip-address
}
keep-all-routes
Not kept by default.