HPE FlexNetwork 10500 Series Configuration Manual page 268

Layer 3-ip services
Table of Contents

Advertisement

Figure 95 Network diagram
Switch A
GE1/0/3
GE1/0/1
Vlan-int100
10.1.1.1/24
IPv4
group 1
Configuration procedure
Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach
each other through IPv4.
Configure Switch A:
# Add GigabitEthernet 1/0/1 to VLAN 100.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] port gigabitethernet 1/0/1
[SwitchA-vlan100] quit
# Specify an IPv4 address for VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Add GigabitEthernet 1/0/2 (the physical interface of the tunnel) to VLAN 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port gigabitethernet 1/0/2
[SwitchA-vlan101] quit
# Specify an IPv4 address for VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ip address 2.1.1.1 255.255.255.0
[SwitchA-Vlan-interface101] quit
# Create service loopback group 1, and specify its service type as tunnel.
[SwitchA] service-loopback group 1 type tunnel
# Assign 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 IPv4 over IPv4 tunnel interface Tunnel 1.
[SwitchA] interface tunnel 1 mode ipv4-ipv4
# Specify an IPv4 address for the tunnel interface.
[SwitchA-Tunnel1] ip address 10.1.2.1 255.255.255.0
# Specify the IP address of VLAN-interface 101 as the source address for the tunnel interface.
[SwitchA-Tunnel1] source 2.1.1.1
# Specify the IP address of VLAN-interface 101 on Switch B as the destination address for the
tunnel interface.
[SwitchA-Tunnel1] destination 3.1.1.1
[SwitchA-Tunnel1] quit
GE1/0/2
Vlan-int101
2.1.1.1/24
IPv4 netwok
IPv4 over IPv4 tunnel
Tunnel1
10.1.2.1/24
Service loopback
interface
Switch B
GE1/0/2
Vlan-int101
3.1.1.1/24
Tunnel2
10.1.2.2/24
IPv4
group 2
257
GE1/0/3
GE1/0/1
Vlan-int100
10.1.3.1/24

Advertisement

Table of Contents
loading

Table of Contents