Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  What is difference between prefix-list-filter and prefix-list?

    Posted 05-14-2017 18:58

    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



  • 2.  RE: What is difference between prefix-list-filter and prefix-list?

    Posted 05-14-2017 19:45

    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

     



  • 3.  RE: What is difference between prefix-list-filter and prefix-list?
    Best Answer

     
    Posted 05-15-2017 03:10

    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



  • 4.  RE: What is difference between prefix-list-filter and prefix-list?

    Posted 05-15-2017 10:07

    Thank you Ashvin