C
HAPTER
45
| IP Routing Commands
Global Routing Configuration
– 1021 –
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)#
maximum-paths This command sets the maximum number of paths allowed. Use the no
form to restore the default settings.
SYNTAX
maximum-paths path-count
no maximum-paths
path-count - The maximum number of equal-cost paths to the same
destination that can be installed in the routing table. (Range: 1-8)
DEFAULT SETTING
Enabled, 4 paths
COMMAND MODE
Global Configuration
EXAMPLE
switch(config)#maximum-paths 8
switch(config)#
show ip route This command displays information in the Forwarding Information Base
(FIB).
SYNTAX
show ip route [connected | ospf | rip | static | summary]
connected – Displays all currently connected entries.
ospf – Displays external routes imported from the Open Shortest
Path First (OSPF) protocol into this routing domain.
rip – Displays all entries learned through the Routing Information
Protocol (RIP).
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.