December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want restrict which routes EIGRP propagates through the network.
You can filter the routes that EIGRP receives on a particular interface (or subinterface) using the distribute-list in command as follows:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#access-list34denyRouter2(config)#192.168.30.0access-list34permit anyRouter2(config)#router eigrpRouter2(config-router)#55distribute-list34inRouter2(config-router)#Serial0.1exitRouter2(config)#endRouter2#
EIGRP also provides a distribute-list out command that allows you to filter the routes that are sent out through a particular interface (or subinterface):
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#access-list57permitRouter1(config)#172.25.1.0access-list57deny anyRouter1(config)#router eigrpRouter1(config-router)#55distribute-list57outRouter1(config-router)#Serial0/0.2exitRouter1(config)#endRouter1#
And, with the gateway keyword, you can apply different filters to different neighbors on the same multiple access network:
Router9#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router9(config)#ip prefix-listALLOWED-PREFIXESpermit10.0.0.0/8leRouter9(config)#32ip prefix-listALLOWED-PREFIXESdeny0.0.0.0/0leRouter9(config)#32ip prefix-listALLOWED-NEIGHBORSpermitRouter9(config)#172.18.19.1/32ip prefix-list ...
Read now
Unlock full access