exam questions

Exam JN0-661 All Questions

View all questions & answers for the JN0-661 exam

Exam JN0-661 topic 1 question 10 discussion

Actual exam question from Juniper's JN0-661
Question #: 10
Topic #: 1
[All JN0-661 Questions]

Click the Exhibit button.
user@router# run show route 2.0.0.0/8
inet.0: 101 destinations, 198 routes (100
active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
2.0.0.0/8 *[BGP/170] 00: 12:06, MED
1000, Localpref 100, from 10.220.1.2
As path: 2000 I,
validation-state: unverified
> to 10.220.15.2 via ge-
1/0/0.0, label-switched-path r1-to-r3
to 10.220.12.2 via ge-
1/1/0.0, label-switched-path r1-to-r3
[BGP/170] 00 10, MED
1000, localpref 100, from 10.220.1.5
AS path: 2000 I,
validation-state: unverified
> to 10.220.15.2 via ge-
1/0/0.0, label-switched-path r1-to-r3
to 10.220.12.2 via ge-
1/1/0.0, label-switched-path r1-to-r3
2.6.6.6/32 *[BGP/170] 00:12:06, MED
1000, localpref 100, from 10.220.1.2
AS path: 2000 I,
validation-state: unverified
> to 10.220.15.2 via ge-
1/0/0.0, label-switched-path r1-tor3
to 10.220.12.2 via ge-
1/1/0.0, label-switched-path r1-to-r3
[BGP/170] 00:12:10, MED
1000, localpref 100, from 10.220.1.5
AS path: 2000 I,
validation-state: unverified
> to 10.220.15.2 via ge-
1/0/0.0, label-switched-path r1-to-r3
to 10.220.12.2 via ge-
1/1/0.0, label-switched-path r1-to-r3
user@router# run show route advertising-protocol
bgp 192.168.11.0
inet.0: 101 destinations, 198 routes (100
active, 0 holddown, 1 hidden)
Prefix Nexthop
MED Lclpref AS path
* 2.6.6.6/32 Self
2000 I
[edit protocols bgp]
user@router# show
export reject;
group peer {
export as1000;
neighbor 192.168.11.0 {
family inet {
unicast;
}
peer-as 1000;
}
}
[edit policy-options]
user@router# show
policy-statement as1000 {
term 1 {
from {
route-filter 2.0.0.0/8 longer;
}
then accept;
}
term 2 {
then reject;
}
}
policy-statement reject {
term 1 {
from {
route-filter 2.0.0.0/8 exact;
}
then reject
}
}
You want to advertise routes 2.0.0.0/8 and 2.6.6.6/32 to BGP peer 192.168.11.0.
Referring to the exhibit, which configuration change would satisfy this requirement?

  • A. Delete the as1000 export policy.
  • B. Change the as1000 policy to orlonger.
  • C. Delete the reject export policy.
  • D. Change the reject policy to longer.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
We must change the match type from longer to orlonger in the as1000 policy. The match type Orlonger matches if the prefix-length is equal to or greater than the routes prefix length, while the Longer match type only matches if the prefix-length is greater than the routes prefix length.
References:
http://www.juniper.net/documentation/en_US/junos15.1/topics/example/policy-prefix-list.html

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
Currently there are no comments in this discussion, be the first to comment!
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