Chapter 26
| IP Routing Commands
Global Routing Configuration
– 638 –
dynamic route is less than that configured for the static route. Note
that the default administrative distance used by the dynamic
unicast routing protocol is 120 for RIP. (Range: 1-255, Default: 1)
*
– Removes all static routing table entries.
Default Setting
No static routes are configured.
Command Mode
Global Configuration
Command Usage
◆
Up to 56 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.
Example
This example forwards all traffic for subnet 192.168.1.0 to the gateway router
192.168.5.254, using the default metric of 1.
Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.254
Console(config)#
show ip route
This command displays information in the Forwarding Information Base (FIB).
Syntax
show ip route
[
connected
|
database
|
static
|
summary
]
connected
– Displays all currently connected entries.
database
– All known routes, including inactive routes.
static
– Displays all static entries.
summary
– Displays a brief list of summary information about
entries in the routing table, including the maximum number of
entries supported, the number of connected routes, the total
number of routes currently stored in the routing table, and the
number of entries in the FIB.
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