13-235
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 13 Troubleshooting Load Balancing
Troubleshooting Layer 3 or Layer 4 Load Balancing
Step 4
maximum paths
number
Example:
RP/0/RP0/CPU0:router# maximum paths 3
Configures the maximum number of paths over which to
load balance. By default, OSPF balances up to 4 equal-cost
paths.
Step 5
end
Example:
RP/0/RP0/CPU0:router# end
Ends the configuration process. Enter yes at the prompt to
commit the changes.
Step 6
show route
destination-address
Example:
RP/0/RP0/CPU0:Router# show route 10.1.2.1
Displays the routes to a destination address.
Verify that number of routes in the routing table equals the
number of parallel links. If you have fewer routes than
expected, continue with this procedure.
Step 7
show ospf
process
interface brief
Example:
RP/0/RP0/CPU0:Router# show ospf 200 interface
brief
Shows interface information for all routes to the destination
address, which displays the cost metric. OSPF balances
loads over equal-cost routes only, so verify that the
interfaces have equal costs. To load balance over unequal
paths, use Enhanced Interior Gateway Routing Protocol or
Interior Gateway Routing Protocol (EIGRP/IGRP) as the
IGP instead.
Step 8
show running-config router ospf
process
Example:
RP/0/RP0/CPU0:Router# show
running-configuration router ospf process
Displays the running configuration for the OSPF process.
This is another way to determine if the interfaces have
different costs.
Step 9
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 10
interface type
interface
Example:
RP/0/RP0/CPU0:router# interface gi0/6/5/7
Enters interface configuration mode.
Step 11
cost value
Example:
RP/0/RP0/CPU0:router# cost 1
Sets the cost of this interfaceto to the same value as the cost
of the other parallel interfaces. If necessary, repeat the
previous step and this step for other interfaces.
Step 12
end
Example:
RP/0/RP0/CPU0:router# end
Ends the configuration process. Enter yes at the prompt to
commit the changes.
Step 13
show route destination-address
Example:
RP/0/RP0/CPU0:Router# show route 10.1.2.1
Displays the routes to a destination address.
Verify that number of routes in the routing table equals the
number of parallel links.
Command or Action Purpose