Configuring inter-AS IPv6 VPN option C

To configure inter-AS IPv6 VPN option C, perform proper configurations on PEs and ASBR-PEs, and configure routing policies on the ASBR-PEs.

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 } as-number as-number

By default, no BGP peer is configured.

4. Enter BGP IPv4 unicast address family view.

address-family ipv4 [ unicast ]

N/A

5. Enable the PE to exchange BGP IPv4 unicast routes with the ASBR-PE in the same AS.

peer { group-name | ip-address } enable

By default, the PE does not exchange BGP IPv4 unicast routes with any peer.

6. Enable the PE to exchange labeled routes with the ASBR-PE in the same AS.

peer { group-name | ip-address } label-route-capability

By default, the PE does not advertise labeled routes to any IPv4 peer/peer group.

7. Return to BGP view.

quit

N/A

8. Configure the PE of another AS as the EBGP peer.

peer { group-name | ip-address } as-number as-number

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 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 MPLS L3VPN."

Configuring the routing policy

A routing policy on an ASBR-PE does the following:

The configuration is the same as that in the Inter-AS IPv4 VPN option C solution. For more information, see "Configuring MPLS L3VPN."