CLI Reference Guide-R04

Table Of Contents
Chapter 30
| IP Routing Commands
Global Routing Configuration
– 951 –
IPv6 Commands
ipv6 route This command configures static IPv6 routes. Use the no form to remove static
routes.
Syntax
[no] ipv6 route destination-ipv6-address/prefix-length
{gateway-address [distance] |
link-local-address%zone-id [distance]}
destination-ipv6-address – The IPv6 address of a destination network,
subnetwork, or host. This must be a full IPv6 address including the network
prefix and host address bits.
prefix-length - A decimal value indicating how many contiguous bits (from
the left) of the address comprise the prefix (i.e., the network portion of the
address).
gateway-address – IP address of the next hop router used for this route.
link-local-address%zone-id – a link-local address, including a zone-id
indicating the VLAN identifier after the % delimiter.
distance – An administrative distance indicating that this route can be
overridden by dynamic routing information if the distance of the dynamic
route is less than that configured for the static route. Note that the default
administrative distances used by the dynamic unicast routing protocols is
110 for OSPF, 120 for RIP, 20 for eBGP, and 200 for iBGP. (Range: 1-255,
Default: 1)
Default Setting
No static routes are configured.
Command Mode
Global Configuration
Command Usage
Up to 1K static routes can be configured.
If an administrative distance is defined for a static route, and the same
destination can be reached through a dynamic route at a lower administration
distance, then the dynamic route will be used.
The default distance of 1 will take precedence over any other type of route,
except for local routes.
If both static and dynamic paths have the same lowest cost, the first route
stored in the routing table, either statically configured or dynamically learned
via a routing protocol, will be used.