HP 6125XLG Layer 3-Ip Services Configuration Manual page 244

Blade switch
Table of Contents

Advertisement

# Configure the source address of tunnel interface as the IP address of VLAN-interface 101 on
Switch A.
[SwitchA-Tunnel1] source vlan-interface 101
# Configure the destination address of the tunnel interface as the IP address of VLAN-interface 101
on Switch B.
[SwitchA-Tunnel1] destination 2.2.2.2
[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 Ten-GigabitEthernet1/1/5 to service loopback group 1.
[SwitchB] interface Ten-GigabitEthernet1/1/5
[SwitchB-Ten-GigabitEthernet1/1/5] port service-loopback group 1
[SwitchB-Ten-GigabitEthernet1/1/5] quit
# Create a tunnel interface Tunnel 1, and specify the tunnel mode as GRE over IPv4.
[SwitchB] interface tunnel 1 mode gre
# Configure an IP address for the tunnel interface.
[SwitchB-Tunnel1] ip address 10.1.2.2 255.255.255.0
# Configure the source address of tunnel interface as the IP address of VLAN-interface 101 on
Switch B.
[SwitchB-Tunnel1] source vlan-interface 101
# Configure the destination address of the tunnel interface as the IP address of VLAN-interface 101
on Switch A.
[SwitchB-Tunnel1] destination 1.1.1.1
[SwitchB-Tunnel1] quit
# Configure a static route from Switch B through the tunnel interface to Group 1.
[SwitchB] ip route-static 10.1.1.0 255.255.255.0 Tunnel 1
Verifying the configuration
# Display tunnel interface information on Switch A.
[SwitchA] display interface tunnel 1
Tunnel1
Current state: UP
Line protocol state: UP
Description: Tunnel1 Interface
Bandwidth: 64kbps
Maximum Transmit Unit: 1476
Internet Address is 10.1.2.1/24 Primary
Tunnel source 1.1.1.1, destination 2.2.2.2
Tunnel keepalive disabled
Tunnel TTL 255
Tunnel protocol/transport GRE/IP
GRE key disabled
Checksumming of GRE packets disabled
233

Advertisement

Table of Contents
loading

Table of Contents