background image
Chapter 10
Route Optimization
can use the distribute-list command to accomplish this goal. To illus-
trate how to use the distribute-list command, consider a variation of
our original example. This time, Network A is running EIGRP, Network B
is running RIP, and we want only the network and the net-
work to be advertised to Network B.
First, we create an access list that specifies which networks we want to be
learned by RouterB:
access-list 2 permit
access-list 2 permit
Next, we use the distribute-list command to permit only the net-
works specified in the access list:
router eigrp 10
distribute-list 2 in
Notice the in argument in the distribute-list command. The in argu-
ment tells the EIGRP routing process to learn only routes that are permitted
by the access list, as shown in Figure 10.9.
F I G U R E 1 0 . 9
Distribute list
Network B
router eigrp 10
redistribute rip metric 56 100 255 1 1500
distribute-list 2 in
router rip
redistribute eigrp 10 metric 3
access-list 2 permit
access-list 2 permit
Network A
EIGRP - Process ID 10
I can only see
networks and from
Network A.
Copyright ©2001 SYBEX , Inc., Alameda, CA