1-41
# Configure the tunnel encapsulation mode.
[SwitchB-Tunnel1] tunnel-protocol gre
# Configure the source address for interface Tunnel 1.
[SwitchB-Tunnel1] source vlan-interface 101
# Configure the destination address for interface Tunnel 1.
[SwitchB-Tunnel1] destination 1.1.1.1
[SwitchB-Tunnel1] quit
# Create service loopback group 1, setting the service type to tunnel.
[SwitchB] service-loopback group 1 type tunnel
# Add interfaceGigabitEthernet 2/0/3 to service loopback group 1.
[SwitchB] interface GigabitEthernet 2/0/3
[SwitchB-GigabitEthernet2/0/3] undo stp enable
[SwitchB-GigabitEthernet2/0/3] port service-loopback group 1
# Apply service loopback group 1 to the tunnel in tunnel interface view.
[SwitchB-GigabitEthernet2/0/3] quit
[SwitchB] interface tunnel 1
[SwitchB-Tunnel1] service-loopback-group 1
[SwitchB-Tunnel1] quit
# Configure a static route from Switch B through interface Tunnel 1 to Group 1.
[SwitchB] ip route-static 10.1.1.0 255.255.255.0 Tunnel 1
Configuring a GRE over IPv6 Tunnel
EB boards and SD boards support only the GRE over IPv6 Tunnel.
Configuration Prerequisites
Interfaces on a device, such as VLAN interfaces, and loopback interfaces, are configured with IPv6
addresses and can communicate. These interfaces can serve as the source of a virtual tunnel interface
to ensure the reachability of the destination address.
Configuration Procedure
Follow these steps to configure a GRE over IPv6 tunnel:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the IPv6 packet
forwarding function
ipv6
Required
Disabled by default
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...