Operation Manual – IPv6
H3C S5500-EI Series Ethernet Switches
Chapter 3 Tunneling Configuration
3-13
[SwitchA-vlan101] port GigabitEthernet 1/0/3
[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
[SwitchA-Tunnel0] ipv6 address 2002:201:101::1/64
[SwitchA-Tunnel0] source vlan-interface 100
[SwitchA-Tunnel0] tunnel-protocol ipv6-ipv4 6to4
[SwitchA-Tunnel0] quit
# Configure the tunnel to reference link aggregation group 1 in tunnel interface view.
[SwitchA-Tunnel0] aggregation-group 1
[SwitchA-Tunnel0] 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
z
Configuration on Switch B
# Enable IPv6.
<SwitchB> system-view
[SwitchB] ipv6
# Configure a link aggregation group. Disable STP on the port before adding it into the
link aggregation group.
[SwitchB] link-aggregation group 1 mode manual
[SwitchB] link-aggregation group 1 service-type tunnel
[SwitchB] interface GigabitEthernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] stp disable
[SwitchB-GigabitEthernet1/0/1] port link-aggregation group 1
[SwitchB-GigabitEthernet1/0/1] quit
# Configure an IPv4 address for VLAN-interface 100.
[SwitchB] vlan 100
[SwitchB-vlan100] port GigabitEthernet 1/0/2
[SwitchB-vlan100] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 5.1.1.1 24
[SwitchB-Vlan-interface100] quit
# Configure a route to VLAN-interface 100 of Switch A. (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.)