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.
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
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)- B91% (31)
- C3% (1)
- D6% (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.
This command is overly specific and includes `interface` without a value, which is syntactically incorrect for deleting a route.
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.
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.
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
Community Discussion
No community discussion yet for this question.
