3Com Switch 8800 Advanced Software V5 Configuration Guide
390 CHAPTER 33: TUNNELING CONFIGURATION
[SwitchA-vlan100] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 2.1.1.1 24
[SwitchA-Vlan-interface100] quit
# Configure a route from the interface VLAN-interface 100 to the interface
VLAN-interface 100 of Switch B. (Here the next-hop address of the static route is
represented by [nexthop]. In practice, you should configure the real next-hop
address according to the network.)
[SwitchA] ip route-static 5.1.1.1 24 [nexthop]
# Configure an IPv6 address for the interface VLAN-interface 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port GigabitEthernet 1/1/2
[SwitchA-vlan101] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2002:0201:0101:1::1/64
[SwitchA-Vlan-interface101] quit
# Configure a 6to4 tunnel.
[SwitchA] interface tunnel 0/0/1
[SwitchA-Tunnel0/0/1] ipv6 address 2002:201:101::1 64
[SwitchA-Tunnel0/0/1] source vlan-interface 100
[SwitchA-Tunnel0/0/1] tunnel-protocol ipv6-ipv4 6to4
[SwitchA-Tunnel0/0/1] quit
# Configure a link aggregation group and set the service type to tunnel.
[SwitchA] link-aggregation group 1 mode manual
[SwitchA] link-aggregation group 1 service-type tunnel
[SwitchA] interface GigabitEthernet 1/1/3
[SwitchA-GigabitEthernet1/1/3] stp disable
[SwitchA-GigabitEthernet1/1/3] port link-aggregation group 1
[SwitchA-GigabitEthernet1/1/3] quit
Reference link aggregation group 1 and enable expedite termination in tunnel
interface view.
[SwitchA] interface tunnel 0/0/1
[SwitchA-Tunnel0/0/1] aggregation-group 1
[SwitchA-Tunnel0/0/1] expediting enable
[SwitchA-Tunnel0/0/1] expediting subnet 5.1.1.0 255.0.0.0
[SwitchA-Tunnel0/0/1] quit
# Configure a static route whose destination address is 2002::/16 and next-hop is
the tunnel interface.
[SwitchA] ipv6 route-static 2002:: 16 tunnel 0/0/1
2 Configure Switch B
# Enable the IPv6 forwarding function.
<SwitchB> system-view
[SwitchB] ipv6
# Configure an IPv4 address for the interface VLAN-interface 100.
[SwitchB] vlan 100
[SwitchB-vlan100] port GigabitEthernet 1/1/1
[SwitchB-vlan100] quit
[SwitchB] interface vlan-interface 100