H3C S9500 Series Operation Manual page 156

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – Tunneling
H3C S9500 Series Routing Switches
[SwitchA-vlan101] port GigabitEthernet 4/1/5
[SwitchA-vlan101] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2001:1::101 32
[SwitchA-Vlan-interface101] quit
# Configure a 6to4 tunnel.
[SwitchA] interface tunnel 4/0/0
[SwitchA-Tunnel4/0/0] ipv6 address 2002:b00:2:2::2 64
[SwitchA-Tunnel4/0/0] source vlan-interface 2001
[SwitchA-Tunnel4/0/0] tunnel-protocol ipv6-ipv4 6to4
[SwitchA-Tunnel4/0/0] 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 4/1/24
[SwitchA-GigabitEthernet4/1/24] stp disable
[SwitchA-GigabitEthernet4/1/24] port link-aggregation group 1
[SwitchA-GigabitEthernet4/1/24] quit
# Reference link aggregation group 1 in tunnel interface view.
[SwitchA] interface tunnel 4/0/0
[SwitchA-Tunnel4/0/0] aggregation-group 1
# Configure a static route whose destination address is 2002:d00:2:2::/64 and next-hop
is the tunnel interface.
[SwitchA] ipv6 route-static 2002:d00:2:2:: 64 tunnel 4/0/0
# Configure a default 6to4 relay route whose next-hop is the IPv6 address of the peer
tunnel interface.
[SwitchA] ipv6 route-static :: 0 2002:d00:2:2::2
2)
Configure Switch B
# Enable the IPv6 forwarding function.
<SwitchB> system-view
[SwitchB] ipv6
# Configure an IPv4 address for the interface VLAN-interface 2003.
[SwitchB] vlan 2003
[SwitchB-vlan2003] port GigabitEthernet 4/1/1
[SwitchB] interface vlan-interface 2003
[SwitchB-Vlan-interface2003] ip address 13.0.0.2 24
[SwitchB-Vlan-interface2003] quit
# Configure a route to the interface VLAN-interface 2001 of Switch A. (Here the
next-hop address of the static route is represented by [nexthop]. In practice, you should
configure the actual next-hop address.)
Chapter 1 Tunneling Configuration
1-25

Advertisement

Table of Contents
loading

Table of Contents