peer 3.3.3.9 enable
#
ipv6-family vpnv6
policy vpn-target
peer 1.1.1.9 enable
peer 3.3.3.9 enable
#
ipv6-family vpn6-instance vpn_out
network :: 0
import-route direct
#
ospf 1
area 0.0.0.0
network 2.2.2.9 0.0.0.0
network 10.1.1.0 0.0.0.255
network 11.1.1.0 0.0.0.255
#
ipv6 route-static vpn6-instance vpn_out :: 0 2004::1
#
return
4.11.4 Example for Configuring Inter-AS IPv6 VPN Option A
Context
As shown in Figure 4-5, CE1 and CE2 belong to the same VPN. CE1 accesses PE1 through AS
100, and CE2 accesses PE2 through AS 200.
The inter-AS BGP/MPLS IPv6 VPN is implemented through Option A. That is, the VRF-to-
VRF method is used to manage VPN routes.
Figure 4-5 Networking diagram for configuring inter-AS VPN Option A
PE2
ASBR-PE2
BGP/MPLS Backbone
AS 200
ASBR-PE1
PE1
BGP/MPLS Backbone
AS 100
GE2/0/0
2001::2/64
Loopback1
1.1.1.9/32
GE1/0/0
172.1.1.2/24
GE2/0/0
2003::1/64
Loopback1
2.2.2.9/32
172.1.1.1/24
Loopback1
3.3.3.9/32
GE1/0/0
162.1.1.1/24
GE1/0/0
162.1.1.2/24
Loopback1
4.4.4.9/32
GE2/0/0
2002::2/24
CE1
AS 65001
CE2
AS 65002
GE1/0/0
2001::1/64
GE1/0/0
2002::1/24
GE2/0/0
2003::2/64
GE1/0/0
VLAN
10
VLAN
10
VLAN 11
VLAN 12
VLAN 22
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
408