H3C S3610-28P Operation Manual page 319

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – IPv6
H3C S3610&S5510 Series Ethernet Switches
# Configure a route to 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 VLAN-interface 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port ethernet 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 tunnel0
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 Ethernet 1/0/1
[SwitchB-Ethernet1/0/1] stp disable
[SwitchB-Ethernet1/0/1] port link-aggregation group 1
[SwitchB-Ethernet1/0/1] quit
# Configure an IPv4 address for VLAN-interface 100.
[SwitchB] vlan 100
[SwitchB-vlan100] port ethernet 1/0/2
[SwitchB-vlan100] quit
Chapter 3 Tunneling Configuration
3-19

Advertisement

Table of Contents
loading

Table of Contents