ZXR10 ZSR V2 Configuration Guide (IPv6)
R1(config)#interface gei-2/4
R1(config-if-gei-2/4)#no shutdown
R1(config-if-gei-2/4)#ip address 1.1.1.1 255.255.255.0
R1(config-if-gei-2/4)#exit
R1(config)#interface v6_tunnel2
R1(config-if-v6_tunnel2)#ipv6 address 2002:0101:0101:1::1/64
R1(config-if-v6_tunnel2)#ipv6 enable
R1(config-if-v6_tunnel2)#exit
R1(config)#ipv6-tunnel-config
R1(config-ipv6-tunnel)#interface v6_tunnel2
R1(config-ipv6-tunnel-if-v6_tunnel2)#tunnel mode ipv6ip 6to4
R1(config-ipv6-tunnel-if-v6_tunnel2)#tunnel source ipv4 1.1.1.1
R1(config-ipv6-tunnel-if-v6_tunnel2)#exit
R1(config-ipv6-tunnel)#exit
R1(config)#ipv6 route 2002::/16 v6_tunnel2
Configuration on R2:
R2(config)#interface gei-3/4
R2(config-if-gei-3/4)#no shutdown
R2(config-if-gei-3/4)#ip address 1.1.1.2 255.255.255.0
R2(config-if-gei-3/4)#exit
R2(config)#interface v6_tunnel2
R2(config-if-v6_tunnel2)#ipv6 address 2002:0101:0102:1::1/64
R2(config-if-v6_tunnel2)#ipv6 enable
R2(config-if-v6_tunnel2)#exit
R2(config)#ipv6-tunnel-config
R2(config-ipv6-tunnel)#interface v6_tunnel2
R2(config-ipv6-tunnel-if-v6_tunnel2)#tunnel mode ipv6ip 6to4
R2(config-ipv6-tunnel-if-v6_tunnel2)#tunnel source ipv4 1.1.1.2
R2(config-ipv6-tunnel-if-v6_tunnel2)#exit
R2(config-ipv6-tunnel)#exit
R2(config)#ipv6 route 2002::/16 v6_tunnel2
Configuration Verification
Check the tunnel configurations on R1, and verify that the configurations have taken effect:
R1(config)#show running-config-interface v6_tunnel2
! <INTERFACE>
interface v6_tunnel2
ipv6 enable
ipv6 address 2002:101:101:1::1/64
!
! </INTERFACE>
! <ipv6-tunnel>
ipv6-tunnel-config
16-12
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential