cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
489
Views
0
Helpful
3
Replies

PREFIX LIST

raghavendran.r
Level 1
Level 1

Hi NEtwork Enginers ,

 

Kindly help me .. if i change the sequence number ..will it trouble ?

 

ip prefix-list migrate seq 52 permit 10.206.233.0/24
ip prefix-list migrate seq 53 permit 10.206.233.0/25

 

mean below will trouble ?

ip prefix-list migrate seq 52 permit 10.206.233.0/25

ip prefix-list migrate seq 53 permit 10.206.233.0/24

I want to understand while configuring prefix list do we need worry about sequence number and where our statement.

 

 

2 Accepted Solutions

Accepted Solutions

chrihussey
VIP Alumni
VIP Alumni

I don't think the order makes much of a difference. Although one is a subset of the other a match is a match. So if if the /25 has to pass, the permit 10.206.233.0/24 is not a match and it would have to go to the next. Similarly, if the /24 had to pass, the permit 10.206.233.0/25 wouldn't fit the bill.

However if you had "permit 10.206.233.0/24 ge 24 le 25" it should allow the /24 and /25, yet it would also allow 10.206.233.128 /25.

 

The list is processed sequentially until there is a match, if no match, then the implicit deny all applies.

 

Hope this helps.

View solution in original post

3 Replies 3

chrihussey
VIP Alumni
VIP Alumni

I don't think the order makes much of a difference. Although one is a subset of the other a match is a match. So if if the /25 has to pass, the permit 10.206.233.0/24 is not a match and it would have to go to the next. Similarly, if the /24 had to pass, the permit 10.206.233.0/25 wouldn't fit the bill.

However if you had "permit 10.206.233.0/24 ge 24 le 25" it should allow the /24 and /25, yet it would also allow 10.206.233.128 /25.

 

The list is processed sequentially until there is a match, if no match, then the implicit deny all applies.

 

Hope this helps.

Hi Chri

Hi Chri ,

 

Thank you very much...for your detailed explanation

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: