11-10-2008 06:23 PM - edited 03-04-2019 12:16 AM
guys just a quick one....if we have prefix-list for example 2 of them..
ip prefix-list route seq 5
ip prefix-list route2 seq 5
will both work as both have same seq no or it doesnt matter as both prefix-list are different (names)???? or what if i dont put the prefix-list seq will it take automatically.....secondly same thing with route-map
if i have to rouute-map
route-map abc permit 10
route-map 123 permit 10
will both work....as bothhave same permit 10 statement or router will treat them sepratly just like above example....thanks
11-10-2008 07:01 PM
hi,
for this case it is different for both. i believe that for prefix-list, each "names" will follow there own sequence number, as long as the name is uniquely defined.
but in the route-map, if any network/host match into the number 10 (i.e. in the access-list) it will be included in the route-map. here it is the number will match the route-map.
hope you understand my explenation.
11-11-2008 01:13 AM
Hello Khan,
if names are different no problem otherwise the second overrides the first you can make a try on a lab router.
First name identify the configuration object, then the sequence number identifies the position in the object this is valid also for route-maps.
every route-map block is characterized by a name, an action permit|deny and a sequence number.
When needed multiple blocks clauses can be used but the route-map is made of all the blocks in the correct order (given by the sequence number)
So in both cases no problems
Hope to help
Giuseppe
11-11-2008 05:16 AM
Thanks man its always really nice to get answer from you....u have replied my many quiries and this one is as usual a v nice one...thanks bud....u r too good just fell like telling ya
11-11-2008 01:26 AM
Hi,
As long as different names applied then both can be applied.
The sequence number if defined or not is created once statment is configured and incremented by 5.
A route-map should have a Match and Set clauses defined.
Regards,
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: