source ipv6
Syntax
source ipv6 no source ipv6
Description
Sets the source IPv6 address to be used for the encapsulation.
Theno
form of this command deletes the source IPv6 address for an IP tunnel.
Command context
config-ip-if
Parameters
-
-
指定tunnel IP address in IPv6 format (
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
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 be2001:DB8::1for IPv6 in IPv6 tunnel8.
switch(config)#接口ip 6 in6隧道8模式switch(config-ip-if)#source ipv6 2001:DB8::1
Deletes the source IP address2001:DB8::1from IPv6 in IPv6 tunnel8.
switch(config)#interface tunnel 8switch(config-ip-if)#no source ipv6 2001:DB8::1