H3C S9500 Series Operation Manual page 153

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

Advertisement

Operation Manual – Tunneling
H3C S9500 Series Routing Switches
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 5.1.1.1 24
[SwitchB-Vlan-interface100] quit
# Configure a route from the interface VLAN-interface 100 to the interface
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.)
[SwitchB] ip route-static 2.1.1.1 24 [nexthop]
# Configure an IPv6 address for the interface VLAN-interface 101.
[SwitchB] vlan 101
[SwitchB-vlan101] port GigabitEthernet 1/1/2
[SwitchB-vlan101] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ipv6 address 2002:0501:0101:1::1/64
[SwitchB-Vlan-interface101] quit
# Configure a 6to4 tunnel.
[SwitchB] interface tunnel0/0/1
[SwitchB-Tunnel0/0/1] ipv6 address 2002:0501:0101::1 64
[SwitchB-Tunnel0/0/1] source vlan-interface 100
[SwitchB-Tunnel0/0/1] tunnel-protocol ipv6-ipv4 6to4
[SwitchB-Tunnel0/0/1] quit
# Configure a link aggregation group and set the service type to tunnel.
[SwitchB] link-aggregation group 1 mode manual
[SwitchB] link-aggregation group 1 service-type tunnel
[SwitchB] interface GigabitEthernet 1/1/3
[SwitchB-GigabitEthernet1/1/3] stp disable
[SwitchB-GigabitEthernet1/1/3] port link-aggregation group 1
[SwitchB-GigabitEthernet1/1/3] quit
# Reference link aggregation group 1 and enable expedite termination in tunnel
interface view.
[SwitchB] interface tunnel 0/0/1
[SwitchB-Tunnel0/0/1] aggregation-group 1
[SwitchB-Tunnel0/0/1] expediting enable
[SwitchB-Tunnel0/0/1] expediting subnet 2.1.1.0 255.0.0.0
[SwitchB-Tunnel0/0/1] quit
# Configure a static route whose destination address is 2002::/16 and the next hop is
the tunnel interface.
[SwitchB] ipv6 route-static 2002:: 16 tunnel0
Chapter 1 Tunneling Configuration
1-22

Advertisement

Table of Contents
loading

Table of Contents