JN0-102 · Question #106
Which route filter match type only matches prefixes greater than the defined prefix?
The correct answer is C. longer. The longer route filter match type selects prefixes that have a subnet mask length strictly greater than the prefix specified in a Junos OS routing policy.
Question
Which route filter match type only matches prefixes greater than the defined prefix?
Options
- Aexact
- Bupto
- Clonger
- Dorlonger
How the community answered
(31 responses)- A3% (1)
- B6% (2)
- C87% (27)
- D3% (1)
Why each option
The `longer` route filter match type selects prefixes that have a subnet mask length strictly greater than the prefix specified in a Junos OS routing policy.
The `exact` match type matches only the exact prefix and prefix length specified.
The `upto` match type matches prefixes that are less than or equal to the defined prefix length.
The `longer` match type in Junos OS routing policies is specifically designed to select prefixes that have a subnet mask length strictly greater than the prefix specified in the policy statement. For example, if the defined prefix is 192.168.1.0/24, `longer` would match 192.168.1.0/25 but not 192.168.1.0/24 itself.
The `orlonger` match type matches the specified prefix itself and any prefixes that are longer.
Concept tested: Junos routing policy prefix match types
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/topic-map/policy-route-filters-overview.html
Topics
Community Discussion
No community discussion yet for this question.