CLI Reference Guide-R01

Table Of Contents
Chapter 28
| IP Routing Commands
Global Routing Configuration
– 872 –
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.
Example
This example forwards all traffic for subnet 2001::/64 to the next hop router
2001:DB8:2222:7272::254, using the default metric of 1.
Console(config)#ipv6 route 2001::/64 2001:DB8:2222:7272::254
Console(config)#
Related Commands
show ip route summary (869)
show ipv6 route This command displays information in the Forwarding Information Base (FIB).
Syntax
show ipv6 route [ipv6-address[/prefix-length] | database | interface [vlan vlan-
id] | local | static]
ipv6-address - 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).
database – All known routes, including inactive routes.
interface – Displays all routes that be accessed through this interface.
local – Displays all entries for destinations attached directly to this router.
static – Displays all static entries.
vlan-id - VLAN ID. (Range: 1-4093)
Command Mode
Privileged Exec
Command Usage
The FIB contains information required to forward IP traffic. It contains the
interface identifier and next hop information for each reachable destination
network prefix based on the IP routing table. When routing or topology