CLI Reference Guide

1100 IPv6 Routing Commands
no ipv6 route
ipv6-prefix/prefix-length
ipv6-address
preference
no ipv6 route
ipv6-prefix/prefix-length interface-type ipv6-address
no ipv6 route
ipv6-prefix/prefix-length interface
distance
—The default administrative distance for static routes. (Range 1-
255)
ipv6-prefix
—An IPv6 prefix representing the subnet that can be reached
via the next-hop neighbor.
prefix-length
—The length of the IPv6 prefix — a decimal value (usually 0-
64) that shows how many of the high-order contiguous bits of the address
comprise the prefix (the network portion of the address). A slash mark
must separate the prefix from the prefix-length with no spaces on either
side of the slash mark.
interface-type
—Distinguishes direct static routes from point-to-point and
broadcast interfaces, and must be specified when using a link-local address
as the next hop. Interface-type can be Null or vlan plus vlan-id or tunnel
plus tunnel-id.
ipv6-address
—The IPv6 address of the next hop neighbor.
preference
—The administrative distance the router uses to compare this
route with routes from other route sources that have the same destination.
(Range: 1-255)
Default Configuration
1 is the default value for
preference
.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example configure an IPv6 static route.
console(config)#ipv6 route 2020:1::1/64 2030:1::2
2CSNXXX_SWUM200.book Page 1100 Tuesday, December 10, 2013 1:22 PM