cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
730
Views
0
Helpful
2
Replies

Different prefix list syntax on a route-map ?

franck.mazoyer
Level 1
Level 1

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

2 Replies 2

Hello,

 

what platform and IOS is that on ? I haven't seen prefix-lists' before...

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

Review Cisco Networking for a $25 gift card