Route Filtering using Distribute List – Example

A distribute list can be configured inbound or  outbound . Distribute list uses a standard or extended access control list (ACL). Distribute list are the simplest form of route filtering.

The following is BGP  example:

access-list 1 deny
access-list 1 permit any

router bgp 100
neighbor distribute-list 1 in

The following OSPF example:

route-map FILTER1 deny 10
match ip address
route-map FILTER1 permit 20

router ospf  1
distribute-list route-map FILTER1 in

The following is EIGRP example:

access-list 1 permit
access-list 1 permit

router eigrp 1
distribute-list 1 in