Training and Certification

 View Only
last person joined: 20 hours ago 

How to get the most from Juniper's education services and get advice on your certification journey.
  • 1.  policy-statement "from rib inet6.0" vs "fom family inet6"

    Posted 01-02-2024 08:28

    Hello Everyone,

    What's the difference between the below commands?;

    set policy-options policy-statement test term 1 from rib inet6.0
    set policy-options policy-statement test term 1 from family inet6

    In many situation so far, the results was the same, but I didn't get when shall I apply one command versus the other. For instance, applying it on the "import" policy, I found no difference.

    What's the technical need for one over the other?

    Many thanks.

    Tim



    ------------------------------
    Tarek Hany Ahmed Ahmed Eltagy
    ------------------------------


  • 2.  RE: policy-statement "from rib inet6.0" vs "fom family inet6"

    Posted 01-02-2024 09:38

    Hi Tim, 

    For the first command: # set policy-options policy-statement test term 1 from rib inet6.0

     - I believe this command will match routes from the v6 RIB meaning that it will consider routes that are present within the inet6.0 routing table for its conditions. 

    I've attached this link here, which can provide more detail on RIB Groups: 

    https://supportportal.juniper.net/s/article/Junos-What-is-the-use-of-RIB-groups-and-how-are-they-used?language=en_US

    For: # set policy-options policy-statement test term 1 from family inet6

     - For this, this will match routes from the v6 address family, regardless of the specific routing table.

    For the specific technical needs, this is up to you and what specific requirements you need, as well as your configurations within your network

    HTH, 

    Ethan



    ------------------------------
    Ethan Jackson
    ------------------------------



  • 3.  RE: policy-statement "from rib inet6.0" vs "fom family inet6"

    Posted 01-12-2024 15:24

    Hi Ethan,

    Many thanks for your answer.

    The definition in words are clear for me, and it's not related the RIB-groups, this is a different topic.

    My question is regarding the application. I am just preparing for JNCIE-SP and I don't find any difference between one command versus the other.

    For instance, applying either command on BGP import/export policy, it got a similar result as per my tests.

    To understand it better, could someone describe a case where one command works, unlike the other?

    BR,

    Tarek



    ------------------------------
    Tarek Hany Ahmed Ahmed Eltagy
    ------------------------------



  • 4.  RE: policy-statement "from rib inet6.0" vs "fom family inet6"

    Posted 01-12-2024 10:27

    These are generic policy statements to match certain prefixes/routes. I agree with the answer already provided. The first knob (rib inet6.0) is specific to the inet6 routing table, and the second knob (family inet6) is for any v6 route on the box.



    ------------------------------
    Avnika Malhotra
    ------------------------------