Reference Guide
Default Not congured
Command Mode EXEC
Usage Information This command does not remove the static routes from the routing table.
Example
OS10# clear ipv6 route *
Supported Releases 10.3.0E or later
ipv6 route
Congures a static IPv6 static route.
Syntax
ipv6 route ipv6–prefix mask {next-hop | interface interface [route-preference]}
Parameters
• ipv6-prefix—Enter the IPv6 address in X:X:.X:X.::X format
• mask—Enter the mask in slash prex-length format (/x)
• next-hop—Enter the next-hop IP address in dotted decimal format - A.B.C.D.
• interface interface—Enter the interface type then the slot/port or number information
• route-preference—(Optional) Enter a route-preference range - 1 to 255
Default Not congured
Command Mode CONFIGURATION
Usage Information When the interface fails, the system withdraws the route. The route reinstalls when the interface comes back up.
When a recursive resolution is broken, the system withdraws the route. The route reinstalls when the recursive
resolution is satised. After you create an IPv6 static route interface, if you do not assign an IP address to a peer
interface, you must manually ping the peer to resolve the neighbor information. The no version of this command
deletes the IPv6 route conguration.
Example
OS10(config)# ipv6 route 2111:dddd:0eee::22/128 2001:db86:0fff::2
Supported Releases 10.2.0E or later
show ipv6 route
Displays IPv6 routes.
Syntax
show ipv6 route [all | bgp | connected | static | A::B/mask | summary]
Parameters
• all—(Optional) Enter the keyword to view all routes including nonactive routes.
• bgp—(Optional) Enter the keyword to view BGP route information.
• connected—(Optional) Enter the keyword to view only the directly connected routes.
• static—(Optional) Enter the keyword to view all static routes.
• A::B/mask—(Optional) Enter the IPv6 destination address and mask.
• summary—(Optional) Enter the keyword to view the IPv6 route summary.
Default Not congured
Command Mode EXEC
Usage Information None
258 Layer 3