CLI Reference IPv6 Configuration Commands
A device shall not be configured multiple tunnels with the same encapsulation type, source address
and destination address.
Note: For auto tunnel 6to4 and isatap , the destination address shall not be configured.
The following example configures an IPv6 manual tunnel.
Ruijie(config)# interface tunnel 1
Ruijie(config-if)# tunnel mode ipv6ip
Ruijie(config-if)# tunnel source vlan 1
Ruijie(config-if)# tunnel destination 192.168.5.1
Configure the source IP address of the tunnel.
Configure the mode of a tunnel.
Configure the TTL of the tunnel.
Use this command to configure GRE tunnel mode. Use the no form of this command to restore it to
the default IPv6 tunnel mode.
Configure the protocol of the tunnel as the IPv4.
Configure the protocol of the tunnel as the IPv6.
The type of the configured IPv6 tunnel is a tunnel configured manually.
Interface configuration mode.
After a tunnel is created, it is considered to be manual tunnel by default. You can also use the tunnel
mode gre with the ip or the ipv6 option to set a tunnel to gre tunnel. The gre tunnel is able to UP only
when the tunnel source and tunnel destination are configured and the destination route could arrive.
The following example configures a gre tunnel.