R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

186
Ste
p
Command
Remarks
3. Inject a local network to the
BGP routing table.
network ip-address [ mask |
mask-length ] [ route-policy
route-policy-name ]
Optional.
Not injected by default.
The network to be injected must be
available and active in the local IP
routing table.
Redistributing IGP routes
Perform this task to configure route redistribution from an IGP to BGP.
By default, BGP does not redistribute default IGP routes. You can use the default-route imported
command to redistribute default IGP routes into the BGP routing table.
The origin attribute of BGP routes redistributed from IGPs is INCOMPLETE.
Only active routes can be redistributed. You can use the display ip routing-table protocol command to
view route state information. For more information about the display ip routing-table protocol command,
see Layer 3—IP Routing Command Reference.
To configure BGP to redistribute IGP routes:
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. 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.
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.