HP 6125XLG Configuration Manual page 202

Blade switch layer 3 - ip services
Table of Contents

Advertisement

[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/1/5 to service loopback group 1.
[SwitchA] interface Ten-GigabitEthernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] port service-loopback group 1
[SwitchA-Ten-GigabitEthernet1/1/5] 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
# Configure the destination address of the tunnel interface as the IPv6 address of VLAN-interface
101 on Switch B.
[SwitchA-Tunnel0] destination 2001::2:1
[SwitchA-Tunnel0] 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 0
2.
Configure Switch B:
# Configure interface VLAN-interface 100.
<SwitchB> system-view
[SwitchB] vlan 100
[SwitchB-vlan100] port Ten-GigabitEthernet 1/1/7
[SwitchB-vlan100] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 10.1.3.1 255.255.255.0
[SwitchB-Vlan-interface100] quit
# Configure interface VLAN-interface 101.
[SwitchB] vlan 101
[SwitchB-vlan101] port Ten-GigabitEthernet 1/1/6
[SwitchB-vlan101] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ipv6 address 2001::2:1 64
[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 Ten-GigabitEthernet 1/1/5 to service loopback group 1.
[SwitchB] interface Ten-GigabitEthernet 1/1/5
[SwitchB-Ten-GigabitEthernet1/1/5] port service-loopback group 1
[SwitchB-Ten-GigabitEthernet1/1/5] quit
# Create a tunnel interface Tunnel0, and specify the tunnel mode as GRE over IPv6.
[SwitchB] interface tunnel 0 mode gre ipv6
194

Advertisement

Table of Contents
loading

Table of Contents