21
IPv6 MCE configuration examples
Example: Configuring IPv6 MCE
Network configuration
As shown in
, RIPng runs in VPN 2. The edge routers of VPN 1 and VPN 2 are VR1 and VR2,
respectively. Configure the MCE device to separate routes from different VPNs and advertise VPN
routes to PE 1 through OSPFv3.
Figure 5 Network diagram
Procedure
1.
Configure the VPN instances on the MCE and PE 1:
# On the MCE, configure VPN instances
vpn1
and
vpn2
, and specify an RD and route targets
for each VPN instance.
<MCE> system-view
[MCE] ip vpn-instance vpn1
[MCE-vpn-instance-vpn1] route-distinguisher 10:1
[MCE-vpn-instance-vpn1] vpn-target 10:1
[MCE-vpn-instance-vpn1] quit
[MCE] ip vpn-instance vpn2
[MCE-vpn-instance-vpn2] route-distinguisher 20:1
CE
VPN 1
Site 2
CE
VPN 2
Site 1
PE 1
PE 3
PE 2
VPN 2
2012::/64
VR 2
VPN 1
2012:1::/64
VR 1
MCE
Vlan-int10
2001:1::1/64
Vlan-int30: 30::2/64
Vlan-int40: 40::2/64
Vlan-int30: 30::1/64
Vlan-int40: 40::1/64
Vlan-int20
2002:1::1/64
Vlan-int10
2001:1::2/64
Vlan-int20
2002:1::2/64
Vlan-int11
2012:1::2/64
Vlan-int21
2012::2/64