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
------------------------------
Original Message:
Sent: 01-02-2024 09:38
From: ETH4N3T
Subject: policy-statement "from rib inet6.0" vs "fom family inet6"
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
Original Message:
Sent: 01-01-2024 19:13
From: Tarek Hany Ahmed Ahmed Eltagy
Subject: policy-statement "from rib inet6.0" vs "fom family inet6"
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
------------------------------