336
Step Command
Remarks
11.
Enter BGP VPNv6 address
family view.
address-family vpnv6
N/A
12.
Enable BGP to exchange
VPNv6 routes with the PE in
the same AS and the ASBR
in different ASs.
peer
{
group-name | ipv4-address
[
mask-length
] }
enable
By default, BGP cannot exchange
VPNv6 routing information with a
peer.
13.
Disable route target filtering
of received VPNv6 routes.
undo policy vpn-target
By default, route target filtering is
enabled for received VPNv6
routes. The routes surviving the
filtering are added to the routing
table, and the others are
discarded.
Configuring inter-AS IPv6 VPN option C
To configure inter-AS IPv6 VPN option C, perform proper configurations on PEs and ASBRs, and
configure routing policies on the ASBRs.
Configuring a PE
Establish an IBGP peer relationship between a PE and an ASBR in an AS, and an MP-EBGP peer
relationship between PEs in different ASs.
The PEs and ASBRs in an AS must be able to exchange labeled routes.
To configure a PE for inter-AS IPv6 VPN option C:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
N/A
3.
Configure the ASBR in the
same AS as an IBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
4.
Configure the PE in another
AS as an EBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
5.
Enter BGP IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
6.
Enable BGP to exchange
BGP IPv4 unicast routes with
the ASBR in the same AS.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
enable
By default, the PE does not
exchange BGP IPv4 unicast
routes with any peer.
7.
Enable BGP to exchange
labeled routes with the ASBR
in the same AS.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
label-route-capability
By default, the PE does not
advertise labeled routes to any
IPv4 peer or peer group.
8.
Return to BGP instance view.
quit
N/A
9.
Enter BGP VPNv6 address
family view.
address-family vpnv6
N/A
10.
Enable BGP to exchange
BGP VPNv6 routing
information with the EBGP
peer.
peer
ipv4-address
[
mask-length
]
enable
By default, the PE does not
exchange labeled routes with any
IPv4 peer or peer group.