1-43
Configuration Example
Network requirements
Two IPv4 subnets Group 1 and Group 2 are interconnected through a GRE tunnel over the IPv6
network between Switch A and Switch B.
Figure 1-15
Network diagram for a GRE over IPv6 tunnel
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] 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] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2002::1:1 64
[SwitchA-Vlan-interface101] quit
# Create an interface named
Tunnel 0
.
[SwitchA] interface tunnel 0
# Configure an IPv4 address for interface Tunnel 0.
[SwitchA-Tunnel0] ip address 10.1.2.1 255.255.255.0
# Configure the tunnel encapsulation mode.
[SwitchA-Tunnel0] tunnel-protocol gre ipv6
# Configure the source address of interface Tunnel 0 to be the IP address of interface VLAN-interface
100.
[SwitchA-Tunnel0] source 2002::1:1
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...