JN0-102 · Question #122
Referring to the exhibit, which three networks match the policy? (Choose three.) [edit policy-options policy-statement my-policy] user@router# show term 1 { from { route-filter 192.168.0.0/16…
The correct answer is A. 192.168.0.0/16 C. 192.168.65.0/24 E. 192.168.24.89/32. The policy term uses route-filter 192.168.0.0/16 orlonger, which matches the exact prefix 192.168.0.0/16 and any more specific (longer) prefixes that fall within this /16 range.
Question
Referring to the exhibit, which three networks match the policy? (Choose three.) [edit policy-options policy-statement my-policy] user@router# show term 1 { from { route-filter 192.168.0.0/16 orlonger; } then accept; }
Options
- A192.168.0.0/16
- B192.168.0.0/15
- C192.168.65.0/24
- D192.167.0.0/17
- E192.168.24.89/32
How the community answered
(32 responses)- A81% (26)
- B13% (4)
- D6% (2)
Why each option
The policy term uses `route-filter 192.168.0.0/16 orlonger`, which matches the exact prefix 192.168.0.0/16 and any more specific (longer) prefixes that fall within this /16 range.
`192.168.0.0/16` exactly matches the base prefix `192.168.0.0/16` and is explicitly included by the `orlonger` match type.
`192.168.0.0/15` is a *shorter* (less specific) prefix than `192.168.0.0/16`, so it does not match `orlonger`.
`192.168.65.0/24` is a more specific prefix (length /24 is longer than /16) that falls within the `192.168.0.0/16` range, so it is matched by `orlonger`.
`192.167.0.0/17` does not fall within the `192.168.0.0/16` range; its network address is outside the specified /16 prefix.
`192.168.24.89/32` is a host route (a very specific, longer prefix length /32 > /16) and falls within the `192.168.0.0/16` range, so it is matched by `orlonger`.
Concept tested: Junos route-filter orlonger match
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/concept/policy-routing-filter-match-conditions-for-route-prefixes.html
Topics
Community Discussion
No community discussion yet for this question.