03-01-2019 08:05 AM
Dear all,
Just a simple question/remark.
Is there different syntax interpetation for matching a prefix list in a route-map ?
Hi have that on two differents routers :
On router 1 :
show route-map AS9999_in route-map AS9999_in, permit, sequence 10 Match clauses: ip address prefix-lists: EBGP_IN as-path (as-path filter): 110 Set clauses: local-preference 150
On router 1, config is :
route-map AS9999_in permit 10 match ip address prefix-list EBGP_IN match as-path 110 set local-preference 150
On router 2 :
show route-map AS9999_in
route-map AS9999_in, permit, sequence 10
Match clauses:
ip address (access-lists): prefix-lists EBGP_IN
as-path (as-path filter): 150
Set clauses:
local-preference 160
Config is :
route-map AS9999_in permit 10
match ip address prefix-lists EBGP_IN
match as-path 150
set local-preference 160
It seems to be a big difference.
On Router 1, the prefix list is applied according to prefix list EBGP_IN
On Router 2, the prefix list is not applied according to prefix list EBGP_IN
The only difference is the "s" on router 2 at "match ip address prefix-list{s} EBGP_IN".
Has anyone ever noticed this nuance with this "s" ?
Have a good day
03-01-2019 10:07 AM
Hello,
what platform and IOS is that on ? I haven't seen prefix-lists' before...
03-01-2019 02:56 PM - edited 03-01-2019 03:02 PM
Hello,
It's on asr1001x-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin
Also, on the show route-map on first router, the match statement of prefix-list don't show words "access-list" whereas on router 2 route-map show, they are...
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide