HPE FlexNetwork 10500 Series Configuration Manual page 273

Layer 3-ip services
Table of Contents

Advertisement

Figure 97 Network diagram
Switch A
GE1/0/3
GE1/0/1
Vlan-int100
30.1.1.1/24
IPv4
network 1
Configuration procedure
Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach
each other through IPv6.
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 30.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 IPv6 address for VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2001::1:1 64
[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 IPv6 tunnel interface Tunnel 1.
[SwitchA] interface tunnel 1 mode ipv6
# Specify an IPv4 address for the tunnel interface.
[SwitchA-Tunnel1] ip address 30.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 2001::1:1
# Specify the IP address of VLAN-interface 101 on Switch B as the destination address for the
tunnel interface.
[SwitchA-Tunnel1] destination 2001::2:1
[SwitchA-Tunnel1] quit
GE1/0/2
Vlan-int101
2001::1:1/64
IPv6 network
IPv4 over IPv6 tunnel
Tunnel1
30.1.2.1/24
Service loopback
interface
Switch B
GE1/0/2
Vlan-int101
2001::2:1/64
Tunnel2
30.1.2.2/24
IPv4
network 2
262
GE1/0/3
GE1/0/1
Vlan-int100
30.1.3.1/24

Advertisement

Table of Contents
loading

Table of Contents