211
The ORIGIN attribute of BGP routes redistributed from IGPs is INCOMPLETE.
To configure BGP to redistribute IGP routes (IPv4 unicast/multicast address family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or
BGP IPv4 multicast
address family view.
•
Enter BGP IPv4 unicast address
family view:
a.
bgp
as-number
b.
address-family ipv4
[
unicast
]
•
Enter BGP-VPN IPv4 unicast address
family view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
c.
address-family ipv4
[
unicast
]
•
Enter BGP IPv4 multicast address
family view:
a.
bgp
as-number
b.
address-family ipv4 multicast
N/A
3.
Enable route
redistribution from the
specified IGP into BGP.
import-route
protocol
[ {
process-id
|
all-processes
} [
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
By default, BGP does not
redistribute IGP routes.
4.
(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 unicast/multicast address family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv6 unicast
address family view,
BGP-VPN IPv6 unicast
address family view, or
BGP IPv6 multicast address
family view.
•
Enter BGP IPv6 unicast address family
view:
a.
bgp
as-number
b.
address-family ipv6
[
unicast
]
•
Enter BGP-VPN IPv6 unicast address
family view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
c.
address-family ipv6
[
unicast
]
•
Enter BGP IPv6 multicast address family
view:
a.
bgp
as-number
b.
address-family ipv6 multicast
N/A
3.
Enable route redistribution
from the specified IGP into
BGP.
import-route
protocol
[
process-id
[
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
By default, BGP does not
redistribute IGP routes.