nerdexam
Juniper

JN0-102 · Question #326

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 prefix-l

The correct answer is A. 192.168.0.0/20 D. 192.168.128.0/21 E. 192.168.64.0/24. The policy term specifies that routes must be within the 192.168.0.0/16 supernet and have a prefix length between /20 and /24 inclusive. Networks 192.168.0.0/20, 192.168.128.0/21, and 192.168.64.0/24 satisfy both of these conditions.

Routing Policy and Firewall Filters

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 prefix-length-range /20-/24; } then accept; }

Options

  • A192.168.0.0/20
  • B192.168.0.0/16
  • C192.168.128.0/18
  • D192.168.128.0/21
  • E192.168.64.0/24

How the community answered

(30 responses)
  • A
    80% (24)
  • B
    13% (4)
  • C
    7% (2)

Why each option

The policy term specifies that routes must be within the 192.168.0.0/16 supernet and have a prefix length between /20 and /24 inclusive. Networks 192.168.0.0/20, 192.168.128.0/21, and 192.168.64.0/24 satisfy both of these conditions.

A192.168.0.0/20Correct

The network 192.168.0.0/20 is within 192.168.0.0/16 and has a prefix length of /20, which is within the /20-/24 range.

B192.168.0.0/16

The network 192.168.0.0/16 has a prefix length of /16, which is outside the specified prefix-length-range of /20-/24.

C192.168.128.0/18

The network 192.168.128.0/18 has a prefix length of /18, which is outside the specified prefix-length-range of /20-/24.

D192.168.128.0/21Correct

The network 192.168.128.0/21 is within 192.168.0.0/16 and has a prefix length of /21, which is within the /20-/24 range.

E192.168.64.0/24Correct

The network 192.168.64.0/24 is within 192.168.0.0/16 and has a prefix length of /24, which is within the /20-/24 range.

Concept tested: Junos route-filter prefix-length-range matching

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/topic-map/policy-match-conditions.html

Topics

#routing policy#route-filter#prefix-length-range#policy matching

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice