3com S7906E Manuel De Montage

Page de 2621
 
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