nerdexam
Juniper

JN0-102 · Question #413

Click the Exhibit. 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 C. delete routing-options static route 166.74.67.131/32. To successfully remove a static route from the Junos OS configuration, the delete command must precisely specify the route's destination prefix within the routing-options static route hierarchy.

Configuration Basics

Question

Click the Exhibit. 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 #413 exhibit

Options

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

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    80% (20)
  • D
    4% (1)

Why each option

To successfully remove a static route from the Junos OS configuration, the `delete` command must precisely specify the route's destination prefix within the `routing-options static route` hierarchy.

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

The command attempts to delete the entire route by also specifying an attribute of the route (`qualified-next-hop`), which is unnecessary and incorrect syntax for deleting the route itself.

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

The command `delete routing-options static route 166.74.67.131/32 qualified-next-hop` would attempt to delete only the `qualified-next-hop` attribute from the specified route, not the route entirely.

Cdelete routing-options static route 166.74.67.131/32Correct

The `delete routing-options static route 166.74.67.131/32` command is the correct and most straightforward way to remove a specific static route in Junos OS by targeting its destination prefix.

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

This option is identical to A; specifying an attribute like `qualified-next-hop` when deleting the entire route by its prefix is incorrect syntax for full route removal.

Concept tested: Junos static route deletion

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

Topics

#static routing#CLI commands#configuration deletion#routing-options

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice