300
[no] ipv6 route
<ipv6-address/prefix-length>
{<interface-type
interface-number> | tunnel
<tnl-id>}
Configure tunnel routing. The NO command
clears tunnel routing.
10.2.3.2 Command For IPv6 Configuration
10.2.3.2.1 ipv6 enable
Command:[no] ipv6 enable
Function:
This command enables functions such as Unicast IPv6 Data Packet Transmit,
Neighbor Discover, Router Bulletin and Routing Protocol, etc.
Parameter:
None
Command Mode:
Global Mode
Default:
Disable IPv6 Enable switch
Usage Guide:
To enable ipv6 enable command will allow configuring IPv6 command and
process IPv6 data transmission.
Example:
Turn on IPv6 Enable switch under Global Mode.
Switch(Config)#ipv6 enable
10.2.3.2.2 ipv6 address
Command:ipv6 address
<ipv6-address/prefix-length>
[
eui-64
]
no ipv6 address
<ipv6-address/prefix-length>
[
eui-64
]
Function:
Configure agregatable global unicast address, local site address and local link
address for the interface
Parameter:
Parameter <
ipv6-address>
is the prefix of IPv6 address, parameter
<prefix-length>
is the distance of the prefix of IPv6 address, which is between 3-128,
eui-64
means IPv6 address is generated automatically based on eui64 interface identifier
of the interface
Command Mode:
Interface Configuration Mode
Default:
None
Usage Guide:
IPv6 address prefix can not be multicast address or any other IPv6
address with specific usages, different vlan layer 3 interfaces can not configure the same
address prefix. For global unicast address, the prefix must be in the range from 2001:: to
3fff::, and the length of the prefix must be bigger than or equal to 3. For local site address
and local link address, the length of the prefix must be bigger than or equal to 3.
Example:
Configure an IPv6 address on Vlan1 Layer 3 interface: the prefix is
2001:3f:ed8::99 and the length of the prefix is 64
Switch(Config-if-Vlan1)#ipv6 address 2001:3f:ed8::99/64