HP 10500 Series Configuration Manual page 205

Layer 3 - ip services
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

# Configure an IPv4 address for interface GigabitEthernet 1/0/2, the physical interface of the
tunnel.
[SwitchB] vlan 101
[SwitchB-vlan101] port GigabitEthernet 1/0/2
[SwitchB-vlan101] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ip address 2.2.2.2 255.255.255.0
[SwitchB-Vlan-interface101] quit
# Create service loopback group 1, and configure the service type as tunnel.
[SwitchB] service-loopback group 1 type tunnel
# Add port GigabitEthernet 1/0/3 to service loopback group 1, and disable STP, and LLDP on the
port.
[SwitchB] interface GigabitEthernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] undo stp enable
[SwitchB-GigabitEthernet1/0/3] undo lldp enable
[SwitchB-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchB-GigabitEthernet1/0/3] quit
# Create a tunnel interface Tunnel1.
[SwitchB] interface tunnel 1
# Configure an IPv4 address for the tunnel interface Tunnel1.
[SwitchB-Tunnel1] ip address 10.1.2.2 255.255.255.0
# Configure the tunnel encapsulation mode as GRE over IPv4.
[SwitchB-Tunnel1] tunnel-protocol gre
# Configure the source address of the tunnel interface as the IP address of the VLAN interface to
which GigabitEthernet 1/0/2 belongs.
[SwitchB-Tunnel1] source vlan-interface 101
# Configure the destination address of the tunnel interface Tunnel1 as the IP address of the VLAN
interface to which GigabitEthernet 1/0/2 of Switch A belongs.
[SwitchB-Tunnel1] destination 1.1.1.1
# Apply service loopback group 1 to the tunnel in tunnel interface view.
[SwitchB-Tunnel1] service-loopback-group 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
Verify the configuration:
3.
# Display the tunnel interface status on Switch A and Switch B.
[SwitchA] display interface tunnel 1
Tunnel1 current state: UP
Line protocol current state: UP
Description: Tunnel1 Interface
The Maximum Transmit Unit is 1476
Internet Address is 10.1.2.1/24 Primary
Encapsulation is TUNNEL, service-loopback-group ID is 1.
Tunnel source 1.1.1.1, destination 2.2.2.2
Tunnel bandwidth 64 (kbps)
Tunnel protocol/transport GRE/IP
GRE key disabled
196

Advertisement

Table of Contents
loading

Table of Contents