Configuration example

By default, Ethernet, VLAN, and aggregate interfaces are shut down. You must use the undo shutdown command to bring them up. This example assumes that all these interfaces are already up.

Network requirements

As shown in Figure 85, dual-stack switches, Switch A and Switch B are connected over an IPv4 network. Configure an automatic IPv4-compatible IPv6 tunnel between the two switches to enable IPv6 communications over the IPv4 network.

Figure 85: Network diagram

Configuration procedure

Before configuring an automatic IPv4-compatible IPv6 tunnel, make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach each other through IPv4.

Verifying the configuration

# Use the display ipv6 interface command to display tunnel interface status on Switch A and Switch B. The output shows that the interface tunnel 0 is up. (Details not shown.)

# Verify that Switch B and Switch A can ping the IPv4-compatible IPv6 address of each other. For example, ping the IPv4-compatible IPv6 address of Switch B from Switch A.

[SwitchA] ping ipv6 ::192.168.50.1
Ping6(56 data bytes) ::192.168.100.1 --> ::192.168.50.1, press CTRL_C to break
56 bytes from ::192.168.50.1, icmp_seq=0 hlim=64 time=17.000 ms
56 bytes from ::192.168.50.1, icmp_seq=1 hlim=64 time=9.000 ms
56 bytes from ::192.168.50.1, icmp_seq=2 hlim=64 time=11.000 ms
56 bytes from ::192.168.50.1, icmp_seq=3 hlim=64 time=9.000 ms
56 bytes from ::192.168.50.1, icmp_seq=4 hlim=64 time=11.000 ms

--- Ping6 statistics for ::192.168.50.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 9.000/11.400/17.000/2.939 ms