H3C S9500 Series Operation Manual page 166

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

Advertisement

Operation Manual – Tunneling
H3C S9500 Series Routing Switches
[SwitchB] vlan 100
[SwitchB-vlan100] port ethernet 1/1/1
[SwitchB-vlan100] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 10.1.3.1 255.255.255.0
[SwitchB-Vlan-interface100] quit
# Configure an IPv4 address for the interface VLAN-interface 101 (the physical
interface of the tunnel).
[SwitchB] vlan 101
[SwitchB-vlan101] port ethernet 1/1/2
[SwitchB-vlan101] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ip address 131.108.5.2 255.255.255.0
[SwitchB-Vlan-interface101] quit
# Create the interface Tunnel 2/0/0.
[SwitchB] interface tunnel 2/0/0
# Configure an IPv4 address for the interface Tunnel 2/0/0.
[SwitchB-Tunnel2/0/0] ip address 10.1.2.2 255.255.255.0
# Configure the tunnel encapsulation mode.
[SwitchB-Tunnel2/0/0] tunnel-protocol ipv4-ipv4
# Configure the source address for the interface Tunnel 2/0/0.
[SwitchB-Tunnel2/0/0] source 131.108.5.2
# Configure the destination address for the interface Tunnel 2/0/0 (IP address of the
interface VLAN-interface 100 of Switch A).
[SwitchB-Tunnel2/0/0] destination 192.13.2.1
# 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 in tunnel interface view.
[SwitchB] interface tunnel 2/0/0
[SwitchB-Tunnel2/0/0] aggregation-group 1
[SwitchB-Tunnel2/0/0] quit
# Configure a static route from Switch B through the interface Tunnel 2/0/0 to Group 1.
[SwitchB] ip route-static 10.1.1.0 255.255.255.0 tunnel 2/0/0
Chapter 1 Tunneling Configuration
1-35

Advertisement

Table of Contents
loading

Table of Contents