372
[ASBR-PE1-bgp] ipv6-family vpnv6
[ASBR-PE1-bgp-af-vpnv6] peer 1.1.1.9 enable
[ASBR-PE1-bgp-af-vpnv6] quit
[ASBR-PE1-bgp] quit
# Configure ASBR-PE 2.
[ASBR-PE2] bgp 200
[ASBR-PE2-bgp] ipv6-family vpn-instance vpn1
[ASBR-PE2-bgp-ipv6-vpn1] peer 2002:1::1 as-number 100
[ASBR-PE2-bgp-ipv6-vpn1] quit
[ASBR-PE2-bgp] peer 4.4.4.9 as-number 200
[ASBR-PE2-bgp] peer 4.4.4.9 connect-interface loopback 0
[ASBR-PE2-bgp] ipv6-family vpnv6
[ASBR-PE2-bgp-af-vpnv6] peer 4.4.4.9 enable
[ASBR-PE2-bgp-af-vpnv6] quit
[ASBR-PE2-bgp] quit
# Configure PE 2.
[PE2] bgp 200
[PE2-bgp] peer 3.3.3.9 as-number 200
[PE2-bgp] peer 3.3.3.9 connect-interface loopback 0
[PE2-bgp] ipv6-family vpnv6
[PE2-bgp-af-vpnv6] peer 3.3.3.9 enable
[PE2-bgp-af-vpnv6] quit
[PE2-bgp] quit
6.
Verify your configuration:
After you complete the configurations, display the routing table and use the ping command. The
CEs have learned the route to each other and can ping each other.
Configuring inter-AS IPv6 VPN option C
Network requirements
•
Site 1 and Site 2 belong to the same VPN. Site 1 accesses the network through PE 1 in AS 100 and
Site 2 accesses the network through PE 2 in AS 600.
•
PEs in the same AS run IS-IS.
•
PE 1 and ASBR-PE 1 exchange labeled IPv4 routes by MP-IBGP.
•
PE 2 and ASBR-PE 2 exchange labeled IPv4 routes by MP-IBGP.
•
PE 1 and PE 2 are MP-EBGP peers.
•
ASBR-PE 1 and ASBR-PE 2 use their respective routing policies and label the routes received from
each other.
•
ASBR-PE 1 and ASBR-PE 2 use MP-EBGP to exchange labeled IPv4 routes.