JN0-102 · Question #186
You accidentally configured interface so-0/0/0.0 with /32 instead of /30. Which two solutions could you use to correct this configuration? (Choose two.)
The correct answer is B. [edit interfaces so-0/0/0.0] D. [edit interfaces so-0/0/0.0]. To correct an incorrectly configured IP address prefix from /32 to /30 on a Junos OS interface, one can either directly set the correct prefix which overwrites the old, or first delete the incorrect prefix and then set the correct one.
Question
You accidentally configured interface so-0/0/0.0 with /32 instead of /30. Which two solutions could you use to correct this configuration? (Choose two.)
Options
- A[edit interfaces so-0/0/0.0]
- B[edit interfaces so-0/0/0.0]
- C[edit]
- D[edit interfaces so-0/0/0.0]
How the community answered
(27 responses)- A15% (4)
- B78% (21)
- C7% (2)
Why each option
To correct an incorrectly configured IP address prefix from /32 to /30 on a Junos OS interface, one can either directly set the correct prefix which overwrites the old, or first delete the incorrect prefix and then set the correct one.
As presented with identical text to other options, this choice provides no specific command or method for correcting the configuration.
This option represents using the `set` command (e.g., `set interfaces so-0/0/0.0 family inet address 10.0.0.1/30`) which, when applied to an existing address with the same base IP, directly overwrites the old prefix with the new one.
As presented with identical text to other options, this choice provides no specific command or method for correcting the configuration.
This option represents a two-step process: first using the `delete` command to remove the existing incorrect prefix (e.g., `delete interfaces so-0/0/0.0 family inet address 10.0.0.1/32`), and then using the `set` command to add the correct prefix (e.g., `set interfaces so-0/0/0.0 family inet address 10.0.0.1/30`).
Concept tested: Junos OS configuration modification for interface IP prefixes
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/task/cli-config-mode-change-hierarchy.html
Topics
Community Discussion
No community discussion yet for this question.