HPE 3100 Configuration Manual page 228

Table of Contents

Advertisement

Figure 97 Network diagram
Configuration procedure
Before the configuration, make sure that Switch A and Switch B are reachable to each other.
1.
Configure Switch A:
<SwitchA> system-view
# Enable IPv6.
[SwitchA] ipv6
# Configure interface VLAN-interface 100.
[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 interface VLAN-interface 101, 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] 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 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 Tunnel0.
[SwitchA] interface tunnel 0
# Configure an IPv4 address for the tunnel interface Tunnel0.
[SwitchA-Tunnel0] ip address 10.1.2.1 255.255.255.0
# Configure the tunnel encapsulation mode as GRE over IPv6.
[SwitchA-Tunnel0] tunnel-protocol gre ipv6
218

Advertisement

Table of Contents
loading

Table of Contents