Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Confused when to use distribute-list

Hi,

I'm not used to do distribute-list but hopefully someone can help me clarify when is the best time to use it?

My second question is, for the below configuration, do they both have the same outcome? Are there any difference?

ip prefix-list 1110_M24_NETWORK seq 5 deny 1.1.1.0/24
ip prefix-list 1110_M24_NETWORK seq 10 permit 0.0.0.0/0 le 32

route-map DENY_1110_M24_NETWORK permit 10
match ip add prefix-list 1110_M24_NETWORK

router ospf 1
redistribute connected subnets route-map DENY_1110_M24_NETWORK


VS

ip prefix-list 1110_M24_NETWORK seq 5 deny 1.1.1.0/24
ip prefix-list 1110_M24_NETWORK seq 10 permit 0.0.0.0/0 le 32

router ospf 1
distribute-list prefix 1110_M24_NETWORK in

Hope you can help me with my humble query.

Best,

Adi

44
Views
0
Helpful
0
Replies