nerdexam
Juniper

JN0-102 · Question #360

Click the Exhibit button. Your configuration contains the static routes shown in the exhibit. Which command will successfully remove the 166.74.67.131 static route?

The correct answer is B. delete routing-options static route 166.74.67.131/32. To remove a specific static route in Junos, the delete routing-options static route command followed by the unique route prefix is sufficient.

Configuration Basics

Question

Click the Exhibit button. Your configuration contains the static routes shown in the exhibit. Which command will successfully remove the 166.74.67.131 static route?

Exhibit

JN0-102 question #360 exhibit

Options

  • Adelete routing-options static route 166.74.67.131/32 qualified-next-hop 166.113.123.37 interface
  • Bdelete routing-options static route 166.74.67.131/32
  • Cdelete routing-options static route 166.74.67.131/32 qualified-next-hop 166.113.123.37
  • Ddelete routing-options static route 166.74.67.131/32 qualified-next-hop

How the community answered

(34 responses)
  • B
    91% (31)
  • C
    3% (1)
  • D
    6% (2)

Why each option

To remove a specific static route in Junos, the `delete routing-options static route` command followed by the unique route prefix is sufficient.

Adelete routing-options static route 166.74.67.131/32 qualified-next-hop 166.113.123.37 interface

This command is overly specific and includes `interface` without a value, which is syntactically incorrect for deleting a route.

Bdelete routing-options static route 166.74.67.131/32Correct

In Junos, the command `delete routing-options static route 166.74.67.131/32` is the correct and most concise way to remove the specified static route. The route prefix `/32` uniquely identifies the route, making it unnecessary to include other specific details like the qualified-next-hop or interface in the delete command.

Cdelete routing-options static route 166.74.67.131/32 qualified-next-hop 166.113.123.37

While specifying the `qualified-next-hop` is part of the route's definition, it's redundant when the route prefix itself uniquely identifies the route for deletion.

Ddelete routing-options static route 166.74.67.131/32 qualified-next-hop

This command is incomplete as it attempts to delete the `qualified-next-hop` attribute rather than the entire route and lacks the specific next-hop value.

Concept tested: Junos static route deletion syntax

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/topic-map/cli-juniper-networks-router.html

Topics

#static routes#delete command#configuration management#Junos CLI

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice