![background image](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253683.webp)
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
11-77
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 11 I Commands
ipv6 route
ipv6 route
To configure an IPv6 static route, use the
ipv6 route
command in configuration mode. To remove or
disable an IPv6 static route, use the
no
form of the command.
ipv6 route
destination-address-prefix next-hop-address
[
distance
distance-metric
|
interface
{gigabitethernet
slot/port
| mgmt
number
| port-channel
number
| vsan
vsan-id
}]
[
distance
distance-metric
]
no ipv6 route
destination-address-prefix next-hop-address
[
distance
distance-metric
|
interface
{gigabitethernet
slot/port
| mgmt
number
| port-channel
number
| vsan
vsan-id
}]
[
distance
distance-metric
]
Syntax Description
Defaults
None.
Command Modes
Configuration mode.
Command History
Usage Guidelines
Before using the
ipv6
route
command to configure IPv6 features on a switch, become familiar with the
features of IPv6 and its extended addressing capabilities. In particular, it is important to understand the
different types of IPv6 address formats, the IPv6 address prefix format, and the different IPv6 address
types. For detailed information about IPv6, refer to the
Cisco MDS 9000 Family CLI Configuration
Guide
.
Examples
The following example configures a static default IPv6 route on a Gigabit Ethernet interface.
switch #
config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#
ipv6 route ::/0 gigabitethernet 3/1
destination-address-
prefix
Specifies the IPv6 destination address prefix. The format is
X:X:X::X/n
.
next-hop-address
Specifies the next hop IPv6 address. The format is
X:X:X::X
.
distance
Configures an IPv6 route metric.
distance-metric
Specifies a distance metric for the specified route. The range is 0 to 32766.
interface
Configures a next hop IPv6 address.
gigabitethernet
slot/port
Specifies a Gigabit Ethernet slot and port number.
mgmt
number
Specifies the management interface.
port-channel
number
Specifies a PortChannel number. The range is 1 to 128
vsan
vsan-id
Specifies an IPFC VSAN ID. The range is 1 to 4093.
Release
Modification
3.0(1)
This command was introduced.