nerdexam
Juniper

JN0-102 · Question #103

Which command will drop a matching packet and send out a notification message?

The correct answer is C. set routing-options static route 10.1.1.1/32 reject. The reject keyword, when used as the next-hop for a static route, causes matching packets to be dropped and triggers an ICMP Destination Unreachable message back to the source.

Routing Fundamentals

Question

Which command will drop a matching packet and send out a notification message?

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 no-install

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    93% (25)

Why each option

The `reject` keyword, when used as the next-hop for a static route, causes matching packets to be dropped and triggers an ICMP Destination Unreachable message 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 if its next-hop interface becomes unavailable, but it does not drop packets or send notifications.

Bset routing-options static route 10.1.1.1/32 discard

The `discard` keyword causes packets to be dropped silently without sending any notification message, which is contrary to the requirement of sending a notification.

Cset routing-options static route 10.1.1.1/32 rejectCorrect

The `reject` keyword configured as the next-hop for a static route explicitly instructs the Junos device to drop any packet matching that route and concurrently send an ICMP Destination Unreachable message to the packet's source, thereby providing a notification.

Dset routing-options static route 10.1.1.1/32 no-install

The `no-install` option prevents a static route from being installed into the forwarding table, meaning it won't be used for actual packet forwarding, but it doesn't actively drop packets or send notifications.

Concept tested: Static route reject 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#reject#ICMP notification

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice