674 IPv6 Routing Commands
User Guidelines
There are no user guidelines for this command.
Example
console(config-if-vlan5)#ipv6 pimdm hello-interval 500
ipv6 route
Use the ipv6 route command in Global Configuration mode to configure an IPv6 static route.
Syntax
ipv6 route
ipv6-prefix
/
prefix-length
[Null | interface {tunnel
tunnel-id
| vlan
vlan-id
}]
next-
hop-address
[
preference
]
no ipv6 route
ipv6-prefix
/
prefix-length
[Null | interface {tunnel
tunnel-id
| vlan
vlan-
id
}]
next-hop-address
[
preference
]
•
ipv6-prefix
— Is the IPv6 network that is the destination of the static route.
•
prefix-length
— Is 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 precede it.
•
interface
—
Identifies direct static routes from point-to-point and broadcast interfaces, and
must be specified when using a link-local address as the next hop.
•
tunnel or vlan
—
Is the tunnel or vlan interface to associate with the route.
•
next-hop-address
— Is the IPv6 address of the next hop that can be used to reach the
specified network.
•
preference
— Is a value 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.