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), where x is a hexadecimal number from 0 to F.

Authority

Administrators or local user group members with execution rights for this command.

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