Technology

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 10.10.10.0 0.0.0.2555
access-list 1 permit any

router bgp 100
neighbor 150.1.1.1 distribute-list 1 in

The following OSPF example:

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

router ospf  1
network 192.168.1.0 0.0.0.255
distribute-list route-map FILTER1 in

The following is EIGRP example:

access-list 1 permit 10.0.0.0
access-list 1 permit 100.0.0.0

router eigrp 1
network 10.10.0.0
distribute-list 1 in