HPE FlexNetwork 10500 Series Configuration Manual page 291

Layer 3-ip services
Table of Contents

Advertisement

Figure 107 Network diagram
Switch A
GE1/0/3
GE1/0/1
Vlan-int100
10.1.1.1/24
IPv4
Group 1
Configuration procedure
Before performing the following configuration, configure an IP address for each interface, and make
sure Switch A and Switch B can reach each other.
1.
Configure Switch A:
# Create service loopback group 1, and configure the service type as tunnel.
<SwitchA> system-view
[SwitchA] service-loopback group 1 type tunnel
# Add port GigabitEthernet 1/0/3 to service loopback group 1.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchA-GigabitEthernet1/0/3] quit
# Create a tunnel interface Tunnel 1, and specify the tunnel mode as GRE/ IPv6.
[SwitchA] interface tunnel 1 mode gre ipv6
# Configure an IP address for the tunnel interface.
[SwitchA-Tunnel1] ip address 10.1.2.1 255.255.255.0
# Configure the source address of the tunnel interface as the IPv6 address of VLAN-interface
101 on Switch A.
[SwitchA-Tunnel1] source 2002::1:1
# Configure the destination address of the tunnel interface as the IPv6 address of
VLAN-interface 101 on Switch B.
[SwitchA-Tunnel1] destination 2001::2:1
[SwitchA-Tunnel1] quit
# Configure a static route from Switch A through the tunnel interface to Group 2.
[SwitchA] ip route-static 10.1.3.0 255.255.255.0 tunnel 1
2.
Configure Switch B:
# Create service loopback group 1, and configure the service type as tunnel.
<SwitchB> system-view
[SwitchB] service-loopback group 1 type tunnel
# Add port GigabitEthernet 1/0/3 to service loopback group 1.
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchB-GigabitEthernet1/0/3] quit
# Create a tunnel interface Tunnel 1, and specify the tunnel mode as GRE/IPv6.
[SwitchB] interface tunnel 1 mode gre ipv6
# Configure an IP address for the tunnel interface.
[SwitchB-Tunnel1] ip address 10.1.2.2 255.255.255.0
GE1/0/2
Vlan-int101
2002::1:1/64
IPv6 network
GRE tunnel
Tunnel1
10.1.2.1/24
Service loopback
interface
GE1/0/2
Switch B
Vlan-int101
2001::2:1/64
GE1/0/3
GE1/0/1
Vlan-int100
Tunnel1
10.1.3.1/24
10.1.2.2/24
IPv4
Group 2
280

Advertisement

Table of Contents
loading

Table of Contents