nerdexam
Juniper

JN0-102 · Question #102

Which command will silently drop a matching packet?

The correct answer is B. set routing-options static route 10.1.1.1/32 discard. The discard keyword, when configured as the next-hop value for a static route, causes any matching packets to be silently dropped without sending any notification back to the source.

Routing Fundamentals

Question

Which command will silently drop a matching packet?

Options

  • Aset routing-options static route 10.1.1.1/32 no-retain
  • Bset routing-options static route 10.1.1.1/32 discard
  • Cset routing-options static route 10.1.1.1/32 reject
  • Dset routing-options static route 10.1.1.1/32 passive

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    87% (26)
  • C
    3% (1)
  • D
    7% (2)

Why each option

The `discard` keyword, when configured as the next-hop value for a static route, causes any matching packets to be silently dropped without sending any notification back to the source.

Aset routing-options static route 10.1.1.1/32 no-retain

The `no-retain` option prevents a static route from being retained in the routing table when the next-hop interface goes down or is removed, but it does not cause packets to be dropped.

Bset routing-options static route 10.1.1.1/32 discardCorrect

Configuring a static route with the `discard` keyword as the next-hop causes any packets matching that route to be dropped immediately and silently by the router, meaning no ICMP unreachable message is generated or sent back to the source.

Cset routing-options static route 10.1.1.1/32 reject

The `reject` keyword causes matching packets to be dropped, but it also explicitly sends an ICMP Destination Unreachable message back to the source, which is not a silent drop.

Dset routing-options static route 10.1.1.1/32 passive

The `passive` keyword for a static route ensures it is installed in the routing table and used for forwarding but not advertised by routing protocols by default; it does not cause packets to be dropped.

Concept tested: Static route discard next-hop behavior

Source: https://www.juniper.net/documentation/us/en/software/junos/static-routing/topics/topic-map/static-routes-configuring.html

Topics

#static routes#route actions#discard#packet dropping

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice