exam questions

Exam JN0-102 All Questions

View all questions & answers for the JN0-102 exam

Exam JN0-102 topic 2 question 21 discussion

Actual exam question from Juniper's JN0-102
Question #: 21
Topic #: 2
[All JN0-102 Questions]

-- Exhibit --
[edit policy-options]
user@router# show
policy-statement block-routes {
term 1 {
from {
route-filter 172.27.0.0/24 longer;
}
then reject;
}
term 2 {
then accept;
}
}
-- Exhibit --

You are asked to ensure that your device does not accept any prefixes within the 172.27.0.0/24 network. You have applied the policy shown in the exhibit, but the
172.27.0.0/24 route is still present on your device.
Which configuration will resolve this problem?

  • A. [edit policy-options policy-statement block-routes] user@router# set term 1 from route-filter 172.27.0.0/24 orlonger
  • B. [edit policy-options policy-statement block-routes] user@router# set term 1 from route-filter 172.27.0.0/24 upto /30
  • C. [edit policy-options policy-statement block-routes] user@router# set term 2 from route-filter 172.27.0.0/24 longer
  • D. [edit policy-options policy-statement block-routes]
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vaisat
4 years, 7 months ago
A is correct. You asked to ensure that your device does not accept ANY PREFIXES WITHIN the /24 network.
upvoted 2 times
...
zayd_dean
5 years ago
The correct keyword would be exact as you been tasked with blocking a specfic prefix but orlonger will match prefixes longer than /24
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago