Solved

ip prefix-list and same sequence number

Posted on 2006-06-12
4
1,299 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

828 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