Command Line Reference Guide

IPv6 Basics | 593
Example
Figure 18-1. Command Example: ipv6 address
Usage
Information
FTOS allows multiple IPv6 addresses to be configured on an interface. When the no ipv6 address
command is issued without specifying a particular IPv6 address, all IPv6 addresses on that interface are
deleted.
ipv6 route
c e s
Establish a static IPv6 route.
Syntax
ipv6 route ipv6-address prefix-length {ipv6-address | interface | interface ipv6-address} [distance]
[tag value] [permanent]
To remove the IPv6 route, use the no ipv6 route ipv6-address prefix-length {ipv6-address |
interface | interface ipv6-address} [distance] [tag value] [permanent] command.
Parameters
Force10(conf)#interface gigabitethernet 10/0
Force10(conf-if-gi-10/0)#ipv6 address ?
X:X:X:X::X IPv6 address
Force10(conf-if-gi-10/0)#ipv6 address 2002:1:2::3 ?
<0-128> Prefix length in bits
Force10(conf-if-gi-10/0)#ipv6 address 2002:1:2::3 /96 ?
<cr>
Force10(conf-if-gi-10/0)#ipv6 address 2002:1:2::3 /96
Force10(conf-if-gi-10/0)#show config
!
interface GigabitEthernet 10/0
no ip address
ipv6 address 2002:1:2::3 /96
no shutdown
Force10(conf-if-gi-10/0)#
ipv6-address
prefix-length
Enter the IPv6 address in the x:x:x:x::x format followed by the prefix length in
the
/x format.
Range: /0 to /128
Note: The
:: notation specifies successive hexadecimal fields of zeros
interface
(OPTIONAL) Enter the following keywords and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet
followed by the slot/port information.
For a loopback interface, enter the keyword
loopback followed by a number
from zero (0) to 16383.
For the null interface, enter the keyword
null followed by zero (0).
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
ipv6-address (OPTIONAL) Enter the forwarding router IPv6 address in the x:x:x:x::x format.
Note: The
:: notation specifies successive hexadecimal fields of zeros
distance
(OPTIONAL) Enter a number as the distance metric assigned to the route.
Range: 1 to 255
tag value (OPTIONAL) Enter the keyword tag followed by a tag value number.
Range: 1 to 4294967295
permanent (OPTIONAL) Enter the keyword permanent to specify that the route is not to
be removed, even if the interface assigned to that route goes down.
Note: If you disable the interface with an IPv6 address associated with the
keyword
permanent, the route disappears from the routing table.