309
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
N/A
3.
Configure the PE as an
IBGP peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
as-number
as-number
By default, no BGP peers exist.
4.
Create the BGP IPv6
unicast family and enter its
view.
address-family ipv6
[
unicast
]
By default, the BGP IPv6
unicast family is not created.
5.
Enable IPv6 unicast route
exchange with the
specified peer or peer
group.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
enable
By default, BGP does not
exchange IPv6 unicast routes
with any peer.
6.
(Optional.) Configure route
redistribution.
import-route
protocol
[ {
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy
route-policy-name
] * ]
A CE must redistribute its routes
to the PE so the PE can
advertise them to the peer CE.
267B
Configuring routing between PEs
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
N/A
3.
Configure the remote PE as
the peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
4.
Specify the source interface
for route update packets sent
to the specified peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
connect-interface
interface-type
interface-number
By default, BGP uses the
outbound interface of the best
route to the BGP peer as the
source interface.
5.
Create the BGP VPNv6
address family and enter its
view.
address-family vpnv6
By default, the BGP VPNv6
address family is not created.
6.
Enable BGP VPNv6 route
exchange with the specified
peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
enable
By default, BGP does not
exchange BGP VPNv6 routes
with any peer.
268B
Configuring BGP VPNv6 route control
BGP VPNv6 route control is configured similarly with BGP route control, except that it is configured in
BGP VPNv6 address family view. For more information about BGP route control, see
Layer 3—IP
Routing Configuration Guide.
To configure BGP VPNv6 route control: