CLI Reference IPv6 Configuration Commands
Source IPv4 address of the tunnel used as the source IP address of
the packets to be transmitted through the tunnel.
If the tunnel mode ipv6 or tunnel mode gre ipv6 is configured, the
source address of the tunnel shall be the IPv6 address. Using the
local address of the link as the source address is not supported
currently.
interface-type
interface-number
Interface referenced by the tunnel, which will be used as the source
IPv4 address of the packets to be transmitted through the tunnel.
No tunnel source address is configured by default.
Interface configuration mode.
The source IP address of a tunnel can be a specified IPv4 address or an IPv4 address of an interface.
When you configure an auto tunnel (for example, 6to4 and isatap), it is recommended to specify the
source address.
A device shall not be configured multiple tunnels with the same encapsulation type, source address
and destination address.
If there are multiple auto tunnels, their source addresses shall be different.
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 mode of a tunnel.
Configure the destination address of a tunnel.
Configure the TTL of the tunnel.
Use this command to specify the TTL value of the IPv4 header in the encapsulated IPv6 messages.
The no form of this command restores it to the default.