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.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...