Solved

ip prefix-list and same sequence number

Posted on 2006-06-12
4
1,291 Views
Last Modified: 2006-11-18
If I have these access prefix lists have been configured under same Router, can I have these sequence numbers (number 5 was configured with two different prefix-list names) in the configuration below ? :

ip prefix-list Peter seq 5 permit 205.13.2.3/32
ip prefix-list John seq 5 permit 164.2.7.0/24
ip prefix-list John seq 15 permit 151.2.7.0/24



I feel the configuration should be like below :

ip prefix-list Peter seq 5 permit 205.13.2.3/32
ip prefix-list John seq 15 permit 164.2.7.0/24
ip prefix-list John seq 15 permit 151.2.7.0/24



or as alternate solution it can be like below as well:

ip prefix-list Peter seq 5 permit 205.13.2.3/32
ip prefix-list John seq 10 permit 164.2.7.0/24
ip prefix-list John seq 15 permit 151.2.7.0/24



Any comment to my thought ?















0
Comment
Question by:zillah
  • 2
4 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 16893345
The first one.
Peter is one list by itself and has default seq 5
John is a separate list and would start at seq 5, next entry seq 10, next entry seq 15, etc.

You do not want to put the same sequence number to 2 lines of the same list as your middle example.
There is no value in starting the sequence # in the 2nd list at 10, but neither is there harm.

0
 

Author Comment

by:zillah
ID: 16900104
((You do not want to put the same sequence number to 2 lines of the same list as your middle example)).
I should have tried this on a router, but it was not handy at the time of posting this thread,,,,when I tried on a router the result was this :

Router(config)#ip prefix-list Peter seq 5 permit 205.13.2.3/32
Router(config)#ip prefix-list John seq 15 permit 164.2.7.0/24
Router(config)#ip prefix-list John seq 15 permit 151.2.7.0/24
%Insertion failed - seq # exists with different policy: 15



0
 
LVL 79

Accepted Solution

by:
lrmoore earned 125 total points
ID: 17388671
>Any comment to my thought ?
I made a comment. There was no real question. The author's post simply confirmed my statement.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now