Chapter 50
| IP Routing Commands
Global Routing Configuration
– 959 –
â—† 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.
â—† Static routes are included in RIP, OSPF or BGP updates periodically sent by the
router if this feature is enabled by the RIP, OSPF or BGP redistribute command
(see page 973, page 993, page 1085 respectively).
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)#