JNCIA-Junos: Juniper Networks Certified Associate – Junos (legacy) — Question 42
-- Exhibit --
user@router> show configuration
groups {
ge-int {
interfaces {
<ge-*> {
unit 0 {
familyinet {
address 10.10.12.1/24;
}
}
}
}
}
}
...
interfaces {
ge-0/0/1 {
unit 0;
}
-- Exhibit --
Referring to the exhibit, which two actions would you take to only apply the 10.10.12.1/24 address to the ge-0/0/1.0 interface?
Answer options
- A. Apply the ge-int group to the configuration at the [edit] hierarchy.
- B. Apply the ge-int group to the configuration at the [edit interfaces ge-0/0/1] hierarchy.
- C. Apply the ge-int group to the configuration at the [edit interfaces ge-0/0/1 unit 0] hierarchy.
- D. Apply the ge-int group to the configuration at the [edit interfaces] hierarchy.
Correct answer: B, C
Explanation
The correct actions are B and C because applying the ge-int group at these specific hierarchies ensures that the address is applied directly to the desired interface. Options A and D are incorrect as they apply the configuration at a higher level, which would not isolate the address assignment to just the ge-0/0/1.0 interface.