ZXR10ZSRV2CongurationGuide(IPv6)
R2(config)#ipv6-tunnel-config
R2(config-ipv6-tunnel)#interfacev6_tunnel1
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnelmodeipv6ip6RD
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel6RD-ipv4-mask-length0
/*Configuretunnelmodeipv6ip6RDfirst,andthenconfigure6RD-ipv4-mask-length
andotherparameters.Otherwise,thesystemprompts:"%Code130024:6RDmode
needsconfigfirst!"*/
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel6RD-prefix3000::1/32
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnelsourceipv41.0.0.1
R2(config-ipv6-tunnel-if-v6_tunnel1)#exit
R2(config-ipv6-tunnel)#exit
/*Theconfigurationofav4routetoaddress10.0.0.2ondeviceCPE2isomitted.*/
CongurationVerication
Runthedebugipv6-tunnelcommand,andruntheping6commandonR1.Thesample
outputisasfollows.
R2#ping63000:0:a00:2::1
sending5,100-byteICMPecho(es)to3000:0:A00:2:0:0:0:1,timeoutis2second(s).
R2MPFU-12/02012-10-2515:54:19v6_tunnel1:Ipv6/Ip(6rd)packettobe
encapsulated:3000:0:100:1::1-->3000:0:a00:2::1(len=100ttl=64)
R2MPFU-12/02012-10-2515:54:19v6_tunnel1:Ipv6/Ip(6rd)packetencapsulated:
1.0.0.1-->10.0.0.2(len=120ttl=255)
TheaboveinformationshowsthatthecorrectdestinationIPv4addressisresolvedonR2.
17-8
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential