cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
692
Views
0
Helpful
2
Replies

differencec between prefix-list and distribute-list

saimbt
Level 1
Level 1

i would like to know the differencec between prefix-list and distribute-list

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

Sai

The difference between prefix-list and distribute list is that prefix-list provides the logic to identify and to permit or deny certain routes and distribute-list is the command configured in a routing protocol when you want to exert some control over routing updates. Traditionally a distribute-list used an access list to identify the routes but now distribute-list can also use prefix-list to identify the routes.

Perhaps an analogy may help the explanation: think about access-list and access-group. The access-list identifies certain traffic and permits or denies it. The access-group is used to assign an access-list to an interface. In a similar way a prefix-list identifies routes and permits or denies them and the distribute-list can assign the prefix-list to a routing protocol.

HTH

Rick

HTH

Rick

Danilo Dy
VIP Alumni
VIP Alumni

Hi,

As how I use them in BGP

"distribute-list" can call a pre-defined ACL number or prefix-list. "distribute-list in" to filter incoming BGP updates, "distribute-list out" to filter outbound BGP updates.

prefix-list can call a pre-defined prefix-list only. It can be use as an alternative to distribute-list.

Review Cisco Networking products for a $25 gift card