HP VPN Firewall Appliances Network Management Configuration Guide

483
Ste
p
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. ipv4-family vpn-instance
vpn-instance-name
Use either method.
3. Enable route redistribution
from IGP into BGP.
import-route protocol [ { process-id
| all-processes } [ allow-direct |
med med-value | route-policy
route-policy-name ] * ]
Not enabled by default.
The allow-direct keyword is
available only when the specified
routing protocol is OSPF.
4. Enable default route
redistribution into BGP.
default-route imported Not enabled by default.
Controlling route distribution and reception
Configuring 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
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. ipv4-family
vpn-instance
vpn-instance-name
Use either method.
3. 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