Cisco CCNA Certification Exam Tutorial: Variance And Unequal Cost Load Balancing

To the CCNA , you’ve got to know how to work with and unequal-cost load balancing. You may not see much in anymore, but you’ll see a lot of , and part of fine-tuning your network is making sure that all paths are in use while allowing for varying bandwidth rates.

Using the variance command is the easy part – it’s getting the that’s the hard part with . With , you just look in the topology table and that’s it. With , you’ve got to run a to get the right .

The variance command is a multiplier when the value supplied with the variance command is multiplied by the lowest-cost , it must exceed the higher-cost in order for the higher-cost route to be added.

If that sounds complicated, it’s not. It’s one of those things that sounds difficult, but isn’t. Trust me!

In this example, R1 has to 172.23.., but is currently using only one. By looking in the table, we’ve seen that the lowest-cost for network 172.23.. on R1 is 8576. This path goes through the 172.12.123. network. There is another valid path that uses the 172.12.13. network, but is not currently in use.

I 172.23../16 [100/8576] via 172.12.123.2, 00:00:53, Serial0

does not have a “show” command that displays all valid routes to a destination, as does . The command transactions will show the current of the routes using the 512 route.

R1# transactions

debugging is on

19:17:51: : broadcasting request on Loopback0

19:17:51: : broadcasting request on Serial0

19:17:51: : broadcasting request on Serial1

19:17:51: : received update from 172.12.13.3 on Serial1

19:17:51: subnet 172.12.13., 23531 ( 21531)

19:17:51: subnet 172.12.123., 23531 ( 8476)

19:17:51: network 1..., 24031 ( 8976)

19:17:51: network 2..., 22131 ( 1600)

19:17:51: network 3..., 22031 ( 501)

19:17:51: network 172.23.., 21631 ( 1100)

R1(config)#router 1
R1(config-router)#variance 3
R1#show route 172.23..
entry for 172.23../16
Known via “ 1″, distance 100, 8576
Redistributing via 1
Advertised by 1 (self originated)
Last update from 172.12.123.2 on Serial0, 00:00:01 ago
Descriptor Blocks:
* 172.12.13.3, from 172.12.13.3, 00:00:20 ago, via Serial1
Route is 21631, traffic share count is 1
Total delay is 21000 microseconds, minimum bandwidth is 512 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops
172.12.123.3, from 172.12.123.3, 00:00:20 ago, via Serial0
Route is 8576, traffic share count is 3
Total delay is 21000 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops
172.12.123.2, from 172.12.123.2, 00:00:01 ago, via Serial0
Route is 8576, traffic share count is 3
Total delay is 21000 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops

The for 172.23.. through the direct connection is 21631. A variance of 3 means that any route with a less than the best multiplied by the variance (in this case, 8576 x 3 = 25728) will be entered into the table. R1 now has three unequal-cost paths to 172.23.. in its table, and load balancing will take place.

unequal-cost load balancing takes some practice, but as you can see, once you get the it’s easy to work with. Just make sure you know how to get that !

Related posts

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply