Training and Certification

last person joined: 4 days ago 

How to get the most from Juniper's education services and get advice on your certification journey.
  • 1.  logical AND, OR for multiple match in Policy, which is it?

    Posted 06-29-2011 18:20

    I am reading Junos Study Guide (fasttrak). Says on page 28 "When evaluating the from statement, the Junos OS performs the evaluation as a logical OR between arguments to a single match criterion and a logical AND between different match criteria. In other words, for the from statement to be considered true, the item being evaluated must match at least one of the arguments to each given match criterion."

    This link Configuring Match Conditions in Routing Policy Terms "In the from statement, you define the criteria that an incoming route must match. You can specify one or more match conditions. If you specify more than one, they all must match the route for a match to occur. "

    Appears inconsistent wording to me, or what am I missing?

    I would think logical AND for dissimilar criteria, whereas OR for similar.



  • 2.  RE: logical AND, OR for multiple match in Policy, which is it?
    Best Answer

    Posted 06-29-2011 22:07

    Hi read,

     

    The wording does get a bit awkward up there.  You are interpreting it correctly though, your last sentence is right.  So ...

     

    from source-address 1.1.1.1/32 *OR* 2.2.2.2/32

     

    from source-address 1.1.1.1/32 *AND* destination-address 2.2.2.2/32

     

     

    Regards,

    Kieran Milne

    Tech Lead, JNCP

     

     



  • 3.  RE: logical AND, OR for multiple match in Policy, which is it?

    Posted 06-30-2011 01:27

    Thanks