ZXR10 ZSR V2 Configuration Guide (IPv6)
R2(config)#ipv6-tunnel-config
R2(config-ipv6-tunnel)#interface v6_tunnel1
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel mode ipv6ip 6RD
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel 6RD-ipv4-mask-length 0
/*Configure tunnel mode ipv6ip 6RD first, and then configure 6RD-ipv4-mask-length
and other parameters. Otherwise, the system prompts: "%Code 130024: 6RD mode
needs config first!"*/
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel 6RD-prefix 3000::1/32
R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel source ipv4 1.0.0.1
R2(config-ipv6-tunnel-if-v6_tunnel1)#exit
R2(config-ipv6-tunnel)#exit
/*The configuration of a v4 route to address 10.0.0.2 on device CPE2 is omitted.*/
Configuration Verification
Run the
debug ipv6-tunnel
command, and run the
ping6
command on R1. The sample
output is as follows.
R2#ping6 3000:0:a00:2::1
sending 5,100-byte ICMP echo(es) to 3000:0:A00:2:0:0:0:1,timeout is 2 second(s).
R2 MPFU-12/0 2012-10-25 15:54:19 v6_tunnel1: Ipv6/Ip(6rd) packet to be
encapsulated: 3000:0:100:1::1-->3000:0:a00:2::1 (len=100 ttl=64)
R2 MPFU-12/0 2012-10-25 15:54:19 v6_tunnel1: Ipv6/Ip(6rd) packet encapsulated:
1.0.0.1-->10.0.0.2 (len=120 ttl=255)
The above information shows that the correct destination IPv4 address is resolved on R2.
17-8
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential