thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Routing & Switching · Intermediate

Route Filter

A Junos policy match condition that selects routes by prefix and match type: exact, orlonger, longer, upto, through and prefix-length-range.

Definition

Route filters appear in the from clause of a policy term and compare each route's prefix and length against the listed prefix. Match types: exact matches only that prefix and length; orlonger matches it and any more specific; longer only more specific; upto /N matches lengths from the prefix length to N; prefix-length-range /a-/b matches more specific prefixes with lengths in that range.

Example

from route-filter 10.0.0.0/8 prefix-length-range /24-/24

Exam tip

orlonger includes the prefix itself; longer excludes it - a classic JNCIA question.

Related terms