HP 3600 v2 Series Configuration Manual page 233

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

# Configure an IPv4 address for interface Ethernet 1/0/1.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] port Ethernet 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 an IPv4 address for interface Ethernet 1/0/2, the physical interface of the tunnel.
[SwitchA] vlan 101
[SwitchA-vlan101] port Ethernet 1/0/2
[SwitchA-vlan101] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ip address 1.1.1.1 255.255.255.0
[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 Ethernet 1/0/3 to service loopback group 1, and disable STP, NDP, and LLDP on the
port.
[SwitchA] interface Ethernet 1/0/3
[SwitchA-Ethernet1/0/3] undo stp enable
[SwitchA-Ethernet1/0/3] undo ndp enable
[SwitchA-Ethernet1/0/3] undo lldp enable
[SwitchA-Ethernet1/0/3] port service-loopback group 1
[SwitchA-Ethernet1/0/3] quit
# Create a tunnel interface Tunnel1.
[SwitchA] interface tunnel 1
# Configure an IPv4 address for the tunnel interface Tunnel1.
[SwitchA-Tunnel1] ip address 10.1.2.1 255.255.255.0
# Configure the tunnel encapsulation mode as GRE over IPv4.
[SwitchA-Tunnel1] tunnel-protocol gre
# Configure the source address of the tunnel interface Tunnel1 as the IP address of the VLAN
interface of interface Ethernet 1/0/2.
[SwitchA-Tunnel1] source vlan-interface 101
# Configure the destination address for tunnel interface Tunnel1 (IP address of the VLAN interface
to which Ethernet 1/0/2 of Switch B belongs).
[SwitchA-Tunnel1] destination 2.2.2.2
# Apply service loopback group 1 to the tunnel in tunnel interface view.
[SwitchA-Tunnel1] service-loopback-group 1
[SwitchA-Tunnel1] quit
# Configure a static route from Switch A through tunnel interface Tunnel1 to Group 2.
[SwitchA] ip route-static 10.1.3.0 255.255.255.0 tunnel 1
Configure Switch B:
2.
# Configure an IPv4 address for interface Ethernet 1/0/1.
<SwitchB> system-view
[SwitchB] vlan 100
222

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents