210
Step Command
Remarks
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.
Inject a local network to the
BGP routing table.
network
ip-address
[
mask
|
mask-length
] [
route-policy
route-policy-name
]
By default, BGP does not
advertise any local network.
To inject a local network (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.
Inject a local network to the
IPv6 BGP routing table.
network
ipv6-address prefix-length
[
route-policy
route-policy-name
]
By default, BGP does not
advertise any local network.
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.
Only active routes can be redistributed. To view route state information, use the
display ip routing-table
protocol
or
display ipv6 routing-table protocol
command.