
Operation Manual – IPv6
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 Tunneling Configuration
3-14
# Configure an IPv4 address for Vlan-interface100.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/0/1
[SwitchA-vlan100] quit
[SwitchA] interface Vlan-interface 100
[SwitchA-Vlan-interface100] ip address 2.1.1.1 255.0.0.0
[SwitchA-Vlan-interface100] quit
# Configure a service-loop group. (Note that to add a port to a service-loop group, you
need to disable STP on the port.)
[SwitchA] link-aggregation group 1 mode manual
[SwitchA] link-aggregation group 1 service-type tunnel
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] stp disable
[SwitchA-Ethernet1/0/2] port link-aggregation group 1
[SwitchA-Ethernet1/0/2] quit
# Configure an automatic IPv4-comptabile IPv6 tunnel.
[SwitchA] interface Tunnel 0
[SwitchA-Tunnel0] ipv6 address ::2.1.1.1/96
[SwitchA-Tunnel0] source Vlan-interface 100
[SwitchA-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel
# Configure service-loop group 1 to be referenced by the tunnel in tunnel interface view.
[SwitchA-Tunnel0] aggregation-group 1
2)
Configuration on SwitchB
# Enable the IPv6 forwarding function.
<SwitchB> system-view
[SwitchB] ipv6
# Configure an IPv4 address for Vlan-interface100.
[SwitchB] vlan 100
[SwitchB-vlan100] port ethernet 1/0/1
[SwitchB-vlan100] quit
[SwitchB] interface Vlan-interface 100
[SwitchB-Vlan-interface100] ip address 2.1.1.2 255.0.0.0
[SwitchB-Vlan-interface100] quit
# Configure a service-loop group.
[SwitchB] link-aggregation group 2 mode manual
[SwitchB] link-aggregation group 2 service-type tunnel
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] stp disable
[SwitchB-Ethernet1/0/2] port link-aggregation group 2