Routing
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 132
Registered: ‎05-21-2016
0 Kudos
Accepted Solution

What is difference between prefix-list-filter and prefix-list?

Hi Please see the below. What is difference between prefix-list-filter and prefix-list ? Thank you

 

set policy-options policy-statement IMPORT_P term 10 from prefix-list-filter RFC orlonger
set policy-options policy-statement IMPORT_P term 10 then reject

 

set policy-options policy-statement IMPORT_P term 10 from prefix-list RFC orlonger
set policy-options policy-statement IMPORT_P term 10 then reject

 

 

When I type in router "C1# set policy-options policy-statement IMPORT_P term 10 from ?"

I got the below:

> prefix-list List of prefix-lists of routes to match
> prefix-list-filter List of prefix-list-filters to match

 

Anyone can explain it? Thank you

Trusted Contributor
Posts: 129
Registered: ‎09-29-2012
0 Kudos

Re: What is difference between prefix-list-filter and prefix-list?

Please refer the below link; if you face any challenge understanding the concept please let us know!

 

https://www.juniper.net/documentation/en_US/junos/topics/example/policy-prefix-list.html

 

_
Regards
Malik
3xJNCIE, 3xJNCSP, 3xJNCDS, JNCIP-DC, CCIE, CISSP, JNCIS-SDNA, PCNSE7
[If it helped to solve your problem Please mark it "Accept as solution"; Kudos are always Appreciated]
Highlighted
Distinguished Expert
Posts: 575
Registered: ‎08-15-2012
0 Kudos

Re: What is difference between prefix-list-filter and prefix-list?

Hi,

 

In short using prefix-list is an exact match of prefixes in the prefix-list while prefix-list-filter allows further filtering such as 'orlonger'.

set policy-options policy-statement IMPORT_P term 10 from prefix-list-filter RFC orlonger

set policy-options policy-statement IMPORT_P term 10 from prefix-list RFC orlonger   --> Results in syntax error

 

Cheers,

Ashvin

Contributor
Posts: 132
Registered: ‎05-21-2016
0 Kudos

Re: What is difference between prefix-list-filter and prefix-list?

Thank you Ashvin