Information Technology Reference
In-Depth Information
Distribute Lists
Distribute lists filter the contents, inbound or outbound, of routing updates. They can control
which network updates are accepted into the routing table or which network updates are
advertised. Two examples follow.
Distribute List Example 1
In Example 10-12, any inbound EIGRP route is checked against access list 1. Any match for
140.175.x.x and 140.176.x.x is placed in the routing table.
Example 10-12 Distribute List to Filter Inbound Routing Updates
router eigrp 100
distribute-list 1 in
!
access-list 1 permit 140.175.0.0 0.0.255.255
access-list 1 permit 140.176.0.0 0.0.255.255
Distribute List Example 2
In Example 10-13, to prevent any routing loops, only networks 150.175.1.0 and 150.175.2.0 are
redistributed into OSPF from EIGRP.
Example 10-13 Distribute List to Filter Routes for Redistribution
router eigrp 100
redistribute ospf 200
distribute-list 1 out ospf 200
!
access-list 1 permit 150.175.1.0 0.0.0.255
access-list 1 permit 150.175.2.0 0.0.0.255
!
router ospf 200
redistribute eigrp 100
Redistribution
The redistribution between routing protocols must be configured carefully to prevent routing
loops. Access lists, distribution lists, and route maps can affect redistribute routes; these
methods specify (select) routes for redistribution, for setting metrics, or for setting other
policies to the routes.
Search WWH ::




Custom Search