R21xx-HP FlexFabric 11900 Layer 3 IP Services Configuration Guide

210
Figure 87 Network diagram
Configuration procedure
Before the configuration, make sure Switch A and Switch B can reach each other.
1. Configure Switch A:
# Configure interface VLAN-interface 100.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] port Ten-GigabitEthernet 1/0/1
[SwitchA-vlan100] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Configure interface VLAN-interface 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port Ten-GigabitEthernet 1/0/2
[SwitchA-vlan101] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2002::1:1 64
[SwitchA-Vlan-interface101] quit
# Create service loopback group 1, and configure the service type as tunnel.
[SwitchA] service-loopback group 1 type tunnel
# Add port Ten-GigabitEthernet 1/0/3 to service loopback group 1.
[SwitchA] interface Ten-GigabitEthernet 1/0/3
[SwitchA-Ten-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchA-Ten-GigabitEthernet1/0/3] quit
# Create a tunnel interface Tunnel0, and specify the tunnel mode as GRE over IPv6.
[SwitchA] interface tunnel 0 mode gre ipv6
# Configure an IP address for the tunnel interface.
[SwitchA-Tunnel0] 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-Tunnel0] source 2002::1:1
XGE1/0/1
Vlan-int100
10.1.3.1/24
IPv4
Group 2
IPv4
Group 1
XGE1/0/1
Vlan-int100
10.1.1.1/24
Tunnel0
10.1.2.1/24
XGE1/0/2
Vlan-int101
2002::1:1/64
XGE1/0/2
Vlan-int101
2001::2:1/64
IPv6 network
GRE tunnel
Tunnel0
10.1.2.2/24
Switch A
Switch B
Service loopback port
XGE1/0/3XGE1/0/3