F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

478
711BControlling route distribution and reception
1491BConfiguring BGP route summarization
To reduce the number of routes to be redistributed and the routing table size on medium and large BGP
networks, configure route summarization on BGP routers. BGP supports the following summarization
modes: automatic and manual. Manual summary routes have a higher priority than automatic ones.
1. Configuring automatic route summarization
After automatic route summarization is configured, BGP summarizes redistributed IGP subnets to
advertise only natural networks. Routes injected with the network command cannot be
summarized.
To configure automatic route summarization:
Ste
p
Command
Remarks
503. Enter system view.
system-view N/A
504. Enter BGP view or BGP-VPN
instance view.
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either approach.
505. Configure automatic route
summarization.
summary automatic Not configured by default.
2. Configuring manual route summarization
By configuring manual route summarization, you can summarize both redistributed routes and
routes injected using the network command and determine the mask length for a summary route as
needed.
The output interface of a BGP summary route is Null 0. With route summarization, BGP advertises
fewer routes to its peers. A summary route must not be optimal; otherwise, BGP will fail to forward
the packets matching the route. If a summarized specific route has the same mask as the summary
route but has a lower priority, the summary route becomes the optimal route. In this case, you must
change the priority of the summary or the specific route to make the specific route the optimal
route.
To configure BGP manual route summarization:
Ste
p
Command
Remarks
506. Enter system view. system-view N/A
507. Enter BGP view or
BGP-VPN instance view.
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either approach.