289
Configuring the PEs
Establish an IBGP peer relationship between a PE and an ASBR-PE in an AS, and an MP-EBGP peer
relationship between PEs in different ASs.
The PEs and ASBR-PEs 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 view.
bgp
as-number
N/A
3.
Configure the ASBR-PE in the
same AS as an IBGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peer is
configured.
4.
Configure the PE in another
AS as an EBGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peer is
configured.
5.
Enter BGP IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
6.
Enable the PE to exchange
BGP IPv4 unicast routes with
the ASBR-PE in the same AS.
peer
{
group-name
|
ip-address
[
mask-length
] }
enable
By default, the PE does not
exchange BGP IPv4 unicast routes
with any peer.
7.
Enable the PE to exchange
labeled routes with the
ASBR-PE in the same AS.
peer
{
group-name
|
ip-address
[
mask-length
] }
label-route-capability
By default, the PE does not
advertise labeled routes to any
IPv4 peer/peer group.
8.
Return to BGP view.
quit
N/A
9.
Enter BGP VPNv6 address
family view.
address-family vpnv6
N/A
10.
Enable the PE to exchange
BGP VPNv6 routing
information with the EBGP
peer.
peer
ip-address
[
mask-length
]
enable
By default, the PE does not
exchange labeled routes with any
IPv4 peer/peer group.
Configuring the ASBR-PEs
In the inter-AS IPv6 VPN option C solution, an inter-AS LSP is needed, and the routes advertised between
the PEs and ASBRs must carry MPLS label information. The configuration is the same as that in the
Inter-AS IPv4 VPN option C solution. For more information, see "
Configuring the routing policy
A routing policy on an ASBR-PE does the following:
•
Assigns MPLS labels to routes received from the PEs in the same AS before advertising them to the
peer ASBR-PE.
•
Assigns new MPLS labels to the labeled routes to be advertised to the PEs in the same AS.
The configuration is the same as that in the Inter-AS IPv4 VPN option C solution. For more information,
see "