Solved

ip prefix-list and same sequence number

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…

706 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

15 Experts available now in Live!

Get 1:1 Help Now