945
Configuring IPv6 Unicast Routing
Configuring IPv6
DETAILED STEPS
Command Purpose
1. configure terminal Enter global configuration mode.
2. ipv6 route ipv6-prefix/prefix
length {ipv6-address |
interface-id [ipv6-address]}
[administrative distance]
Configure a static IPv6 route.
ipv6-prefix—The IPv6 network that is the destination of the
static route. It can also be a hostname when static host routes
are configured.
/prefix length—The length of the IPv6 prefix. A decimal value
that shows how many of the high-order contiguous bits
comprise the prefix (the network portion of the address). A
slash mark must precede the decimal value.
ipv6-address—The IPv6 address of the next hop that can be
used to reach the specified network. The next hop does not
need to be directly connected; recursion finds the IPv6
address of the directly connected next hop. The address
must be specified in hexadecimal using 16-bit values
between colons.
interface-id—Specify direct static routes from point-to-point
and broadcast interfaces. On point-to-point interfaces, you
do not need to specify the IPv6 address of the next hop. On
broadcast interfaces, you should always specify the IPv6
address of the next hop, or ensure that the specified prefix is
assigned to the link, specifying a link-local address as the
next hop. You can optionally specify the IPv6 address of the
next hop to which packets are sent.
Note: You mu st specify an interface-id when using a link-local
address as the next hop. The link-local next hop must be an
adjacent router.
administrative distance—(Optional) An administrative
distance. The range is 1 to 254; the default value is 1, which
gives static routes precedence over all but connected routes.
To configure a floating static route, use an administrative
distance greater than that of the dynamic routing protocol.