Route Filter Match Types for Prefixes | JN0-102 Exam Prep

Which Route Filter Match Type Only Matches Prefixes Greater than the Defined Prefix?

Prev Question Next Question

Question

Which route filter match type only matches prefixes greater than the defined prefix?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

The correct answer to the question is option C - "longer."

In Junos, route filters are used to control the routes that are advertised or received by a router. A route filter can match routes based on specific criteria such as prefix, prefix length, and AS path.

There are four different match types for route filters in Junos: exact, upto, longer, and orlonger. These match types determine the behavior of the filter and the criteria used to match the prefixes.

  • Exact: This match type only matches the exact prefix specified in the filter. It does not match any prefixes that are more specific or less specific than the specified prefix. For example, if the filter specifies 10.0.0.0/24, it will only match that exact prefix.

  • Upto: This match type matches prefixes up to and including the specified prefix length. For example, if the filter specifies 10.0.0.0/24, it will match any prefix that is equal to or less specific than 10.0.0.0/24, such as 10.0.0.0/23 or 10.0.0.0/22.

  • Longer: This match type matches prefixes that are more specific than the specified prefix length. For example, if the filter specifies 10.0.0.0/24, it will match any prefix that is more specific than 10.0.0.0/24, such as 10.0.0.1/32 or 10.0.0.0/25.

  • Orlonger: This match type matches prefixes that are either equal to or more specific than the specified prefix length. For example, if the filter specifies 10.0.0.0/24, it will match any prefix that is 10.0.0.0/24 or more specific, such as 10.0.0.1/32 or 10.0.0.0/25.

Therefore, the match type that only matches prefixes greater than the defined prefix is "longer." This match type is often used in route filters to match more specific prefixes and avoid advertising or receiving less specific routes.