Juniper JN0-102 Exam: Command to Silently Drop a Matching Packet

Silently Drop a Matching Packet

Prev Question Next Question

Question

Which command will silently drop a matching packet?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The correct answer is B. set routing-options static route 10.1.1.1/32 discard.

Explanation:

In Junos OS, the static route discard command is used to silently discard the packets that match the specified static route. This means that the router will not send any ICMP message to the sender, indicating that the packet has been dropped.

The other options are:

A. set routing-options static route 10.1.1.1/32 no-retain: This command is used to remove the route from the routing table, but it does not discard the packets that match the route.

C. set routing-options static route 10.1.1.1/32 reject: This command is used to send an ICMP message to the sender, indicating that the packet has been rejected. This message is sent using the ICMP protocol, and it informs the sender that the destination is unreachable.

D. set routing-options static route 10.1.1.1/32 passive: This command is not a valid Junos OS command.

In summary, the correct command to silently drop a matching packet is set routing-options static route 10.1.1.1/32 discard.