1-40
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ip address 1.1.1.1 255.255.255.0
[SwitchA-Vlan-interface101] quit
# Create an interface named
Tunnel 1
.
[SwitchA] interface tunnel 1
# Configure an IPv4 address for interface Tunnel 1.
[SwitchA-Tunnel1] ip address 10.1.2.1 255.255.255.0
# Configure the tunnel encapsulation mode.
[SwitchA-Tunnel1] tunnel-protocol gre
# Configure the source address of interface Tunnel 1 to be the IP address of the VLAN interface.
[SwitchA-Tunnel1] source vlan-interface 101
# Configure the destination address for interface Tunnel 1.
[SwitchA-Tunnel1] destination 2.2.2.2
[SwitchA-Tunnel1] quit
# Create service loopback group 1, setting the service type to tunnel.
[SwitchA] service-loopback group 1 type tunnel
# Add interface GigabitEthernet 2/0/3 to service loopback group 1.
[SwitchA] interface GigabitEthernet 2/0/3
[SwitchA-GigabitEthernet2/0/3] undo stp enable
[SwitchA-GigabitEthernet2/0/3] port service-loopback group 1
# Apply service loopback group 1 to the tunnel in tunnel interface view.
[SwitchA-GigabitEthernet2/0/3] quit
[SwitchA] interface tunnel 1
[SwitchA-Tunnel1] service-loopback-group 1
[SwitchA-Tunnel1] quit
# Configure a static route from Switch A through interface Tunnel 1 to Group 2.
[SwitchA] ip route-static 10.1.3.0 255.255.255.0 tunnel 1
2) Configure Switch B
# Configure an IPv4 address.
<SwitchB> system-view
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 10.1.3.1 255.255.255.0
[SwitchB-Vlan-interface100] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ip address 2.2.2.2 255.255.255.0
[SwitchB-Vlan-interface101] quit
# Create an interface named Tunnel 1.
[SwitchB] interface tunnel 1
# Configure an IPv4 address for interface Tunnel 1.
[SwitchB-Tunnel1] ip address 10.1.2.2 255.255.255.0
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 ...