source ipv6
Syntax
source ipv6 <IPV6-ADDR>
no source ipv6
Description
Sets the source IPv6 address to be used for the encapsulation.
The
no
form of this command deletes the source IPv6 address for an IP tunnel.
Command context
config-ip-if
Parameters
<IPV6-ADDR>
Specifies the tunnel IP address in IPv6 format (
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
is a hexadecimal number from 0 to F. You can use two colons (::) to represent consecutive zeros (but only once), remove leading zeros, and collapse a sextet of four zeros to a single 0. For example, this address2222:0000:3333:0000:0000:0000:4444:0055
becomes2222:0:3333::4444:55
.
Authority
Administrators
Examples
Defines the source IPv6 address to be 2001:DB8::1 for IPv6 in IPv6 tunnel 8.
switch(config)# interface tunnel 8 mode ip 6in6 switch(config-ip-if)# source ipv6 2001:DB8::1
Deletes the source IP address 2001:DB8::1 from IPv6 in IPv6 tunnel 8.
switch(config)# interface tunnel 8 switch(config-ip-if)# no source ipv6 2001:DB8::1