199
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.
Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
4.
Enable route redistribution
from the specified IGP into
BGP.
import-route
protocol
[ {
process-id
|
all-processes
} [
med
med-value
|
route-policy
route-policy-name
] * ]
By default, BGP does not
redistribute IGP routes.
5.
(Optional.) Enable default
route redistribution into BGP.
default-route imported
By default, BGP does not
redistribute default routes.
To configure BGP to redistribute IGP routes (IPv6):
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.
Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
4.
Enable route redistribution
from the specified IGP into
BGP.
import-route
protocol
[
process-id
[
med
med-value
|
route-policy
route-policy-name
] * ]
By default, BGP does not
redistribute IGP routes.
5.
(Optional.) Enable default
route redistribution into BGP.
default-route imported
By default, BGP does not
redistribute default routes.
Controlling route distribution and reception
This section describes how to control route distribution and reception.
Configuring BGP route summarization
Route summarization can reduce the number of redistributed routes and the routing table size. IPv4 BGP
supports automatic route summarization and manual route summarization. Manual summarization takes
precedence over automatic summarization. IPv6 BGP supports only manual route summarization.