Chapter 3 IPv6 Tunnel Configuration
S1(config-if-v6_tunnel2)#ipv6 address 2002:0101:0101::1/64
S1(config-if-v6_tunnel2)#ipv6 enable
S1(config-if-v6_tunnel2)#!
S1(config)#ipv6-tunnel-config
S1(config-ipv6-tunnel)#interface v6_tunnel2
S1(config-ipv6-tunnel-if-v6_tunnel2)#tunnel mode ipv6ip 6to4
S1(c config-ipv6-tunnel-if-v6_tunnel2)#tunnel source ipv4 1.1.1.1
S1(config-ipv6-tunnel-if-v6_tunnel2)#!
S1(config)#ipv6 route 2002::/16 v6_tunnel2
S2 configuration:
S2(config)#interface v6_tunnel2
S2(config-if-v6_tunnel2)#ipv6 address 2002:0101:0102::1/64
S2(config-if-v6_tunnel2)#ipv6 enable
S2(config-if-v6_tunnel2)#!
S2(config)#ipv6-tunnel-config
S2(config-ipv6-tunnel)#interface v6_tunnel2
S2(config-ipv6-tunnel-if-v6_tunnel2)#tunnel mode ipv6ip 6to4
S2(config-ipv6-tunnel-if-v6_tunnel2)#tunnel source ipv4 1.1.1.1
S2(config-ipv6-tunnel-if-v6_tunnel2)#!
S2(config)#ipv6 route 2002::/16 v6_tunnel2
Configuration Verification
Check the tunnel configurations on S1 and verify whether the configurations have taken
effect:
S1(config)#show running-config-interface v6_tunnel2
! <INTERFACE>
interface v6_tunnel2
index 1348
ipv6 enable
ipv6 address 2002:101:101::1/48
!
! </INTERFACE>
! <V6_TUNNEL>
ipv6-tunnel-config
interface v6_tunnel2
tunnel mode ipv6ip 6to4
tunnel source ipv4 1.1.1.1
! </V6_TUNNEL>
S1(config)#show ipv6 interface brief
v6_tunnel2
[up/up]
fe80::2d0:d0ff:fe52:abcf
2002:101:101::1/64
3-9
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential