908
Configuring IP Unicast Routing
Configuring Protocol-Independent Features
Configuring the Number of Equal-Cost Routing Paths
When a router has two or more routes to the same network with the same metrics, these routes can be thought of as
having an equal cost. The term
parallel path
is another way to see occurrences of equal-cost routes in a routing table. If
a router has two or more equal-cost paths to a network, it can use them concurrently. Parallel paths provide redundancy
in case of a circuit failure and also enable a router to load balance packets over the available paths for more efficient use
of available bandwidth.
Although the router automatically learns about and configures equal-cost routes, you can control the maximum number
of parallel paths supported by an IP routing protocol in its routing table.
DETAILED STEPS
Use the
no maximum-paths
router configuration command to restore the default value.
EXAMPLE
The following example shows how to allow a maximum of 16 paths to a destination in an OSPF routing process:
Switch(config)#
router ospf 3
Switch(config-router)#
maximum-paths 16
Configuring Static Unicast Routes
Static unicast routes are user-defined routes that cause packets moving between a source and a destination to take a
specified path. Static routes can be important if the router cannot build a route to a particular destination and are useful
for specifying a gateway of last resort to which all unroutable packets are sent.
The switch retains static routes until you remove them. However, you can override static routes with dynamic routing
information by assigning administrative distance values. Each dynamic routing protocol has a default administrative
distance, as listed in Table 2. If you want a static route to be overridden by information from a dynamic routing protocol,
set the administrative distance of the static route higher than that of the dynamic protocol.
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
router
{
bgp
|
rip
|
ospf
|
eigrp
}
Enter router configuration mode.
3.
maximum-paths
maximum
Set the maximum number of parallel paths for the protocol
routing table. The range is from 1 to 8; the default is 4 for most
IP routing protocols, but only 1 for BGP.
4.
end
Return to privileged EXEC mode.
5.
show ip protocols
Verify the setting in the
Maximum path
field.
6.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...