ZXR10 ZSR V2 Configuration Guide (IPv6)
l
SAFI = 128: indicating a VPN-IPv6 address
The format of a VPN-IPv6 address is shown in
. The length of the Route
Distinguisher (
) is 8 bytes, and the length of the IPv6 address is 16 bytes. 6VPE does
not limit the IP version of the backbone network, so IPv6 VPN traffic can be transmitted in
IPv6 tunnels or IPv4 tunnels.
Figure 19-1 VPN-IPv6 Address Format
19.2 Configuring 6VPE
This procedure describes how to configure the 6VPE function on the PE and CE devices
in the MPLS VPN network to provide the VPN service to IPv6 users.
Steps
1.
Create VRF and activate IPv6 address family.
Step
Command
Function
1
ZXR10(config)#
ip vrf
<
vrf-name
>
Creates a VPN instance.
2
ZXR10(config-vrf-vrf-name)#
rd
<
route-distinguisher
>
Defines an RD for VRF.
There are three formats,
0-65535:0-4294967295,
1-65535.0-65535:0-65535
and A.B.C.D:0-65535.
3
ZXR10(config-vrf-vrf-name)#
address-family ipv6
Activates IPv6 address family.
4
ZXR10(config-vrf-vrf-name-af-ipv6)#
route-target
[
import
|
export
|
both
]<
extended-community
>
Creates a route-target
extended community attribute
associated with VRF in IPv6
address family configuration
mode.
import
: Imports routes to VRF according to the route-target extended community
attribute.
export
: Exports VRF routes with route-target extended community attribute.
both
: import and export.
<
extended-community
>:
Route-target
extended
community
attribute.
There
are
three
formats,
0-65535
:0-4294967295,
A.B.C.D:0-65535
and
<1-65535>.<0-65535>:<0-65535>.
19-2
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential