ZXR10ZSRV2CongurationGuide(IPv6)
lSAFI=128:indicatingaVPN-IPv6address
TheformatofaVPN-IPv6addressisshowninFigure19-1.ThelengthoftheRoute
Distinguisher(RD)is8bytes,andthelengthoftheIPv6addressis16bytes.6VPEdoes
notlimittheIPversionofthebackbonenetwork,soIPv6VPNtrafccanbetransmittedin
IPv6tunnelsorIPv4tunnels.
Figure19-1VPN-IPv6AddressFormat
19.2Conguring6VPE
Thisproceduredescribeshowtocongurethe6VPEfunctiononthePEandCEdevices
intheMPLSVPNnetworktoprovidetheVPNservicetoIPv6users.
Steps
1.CreateVRFandactivateIPv6addressfamily.
StepCommandFunction
1ZXR10(config)#ipvrf<vrf-name>CreatesaVPNinstance.
2ZXR10(config-vrf-vrf-name)#rd<route-distinguisher>DenesanRDforVRF .
Therearethreeformats,
0-65535:0-4294967295,
1-65535.0-65535:0-65535
andA.B.C.D:0-65535.
3ZXR10(config-vrf-vrf-name)#address-familyipv6ActivatesIPv6addressfamily.
4ZXR10(config-vrf-vrf-name-af-ipv6)#route-target[
import|export|both]<extended-community>
Createsaroute-target
extendedcommunityattribute
associatedwithVRFinIPv6
addressfamilyconguration
mode.
import:ImportsroutestoVRFaccordingtotheroute-targetextendedcommunity
attribute.
export:ExportsVRFrouteswithroute-targetextendedcommunityattribute.
both:importandexport.
<extended-community>:Route-targetextendedcommunityattribute.
Therearethreeformats,0-65535:0-4294967295,A.B.C.D:0-65535and
<1-65535>.<0-65535>:<0-65535>.
19-2
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential