3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring 6to4 Tunnel 387
# Configure an IPv4 address for the interface VLAN-interface 12.
[SwitchB] vlan 12
[SwitchB-vlan12] port GigabitEthernet 3/1/1
[SwitchB] interface Vlan-interface 12
[SwitchB-GigabitEthernet3/1/1] ip address 2.1.1.2 255.0.0.0
[SwitchB-GigabitEthernet3/1/1] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
[SwitchB] interface tunnel 0/0/1
[SwitchB-Tunnel0/0/1] ipv6 address ::2.1.1.2/96
[SwitchB-Tunnel0/0/1] source Vlan-interface 12
[SwitchB-Tunnel0/0/1] tunnel-protocol ipv6-ipv4 auto-tunnel
# Configure a link aggregation group and set the service type to tunnel.
[SwitchB] link-aggregation group 1 mode manual
[SwitchB] link-aggregation group 1 service-type tunnel
[SwitchB] interface GigabitEthernet 3/1/2
[SwitchB-GigabitEthernet3/1/2] stp disable
[SwitchB-GigabitEthernet3/1/2] port link-aggregation group 1
[SwitchB-GigabitEthernet3/1/2] quit
# Reference link aggregation group 1 and enable expedite termination in tunnel
interface view.
[SwitchB] interface tunnel 0/0/1
[SwitchB]-Tunnel0/0/1] aggregation-group 1
[SwitchB-Tunnel0/0/1] expediting enable
[SwitchB-Tunnel0/0/1] expediting subnet 2.1.1.0 255.0.0.0
[SwitchB-Tunnel0/0/1] quit
Configuration verification
After the above configurations, you can successfully ping the IPv4-compatible IPv6
address of the peer tunnel interface from one switch.
Configuring 6to4
Tunnel
Configuration
Prerequisites
IP addresses are configured for interfaces such as VLAN interface and Loopback
interface on the device so that they can communicate. These interfaces serve as
the source interface of the virtual tunnel interface to ensure that the tunnel
destination address is reachable.
Configuration Procedure Follow these steps to configure a 6to4 tunnel:
To do... Use the command... Remarks
Enter system view system-view -
Enable the IPv6 packet forwarding
function
ipv6 Required
By default, the IPv6
packet forwarding
function is disabled.