-- Exhibit --
user@router> show configuration
groups {
ge-int {
interfaces {
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?
Click on the arrows to vote for the correct answer
A. B. C. D.BC
The configuration exhibits the use of a group named "ge-int" that contains configuration statements for configuring multiple interfaces that match the pattern "<ge-*>". The interfaces in the group are assigned the IP address 10.10.12.1/24 under the familyinet stanza. The configuration also includes an interface named "ge-0/0/1" with a unit named "0" that does not have any IP address configured.
To apply the 10.10.12.1/24 address only to the "ge-0/0/1.0" interface, we need to override the configuration inherited from the "ge-int" group. Therefore, we should apply the group configuration at a lower hierarchy level than the ge-int group itself.
The following are the available options and their explanations:
A. Apply the ge-int group to the configuration at the [edit] hierarchy. This option would apply the ge-int group configuration to all interfaces on the router, including the ge-0/0/1.0 interface. As a result, the ge-0/0/1.0 interface would still inherit the 10.10.12.1/24 IP address, and this option would not achieve the desired outcome.
B. Apply the ge-int group to the configuration at the [edit interfaces ge-0/0/1] hierarchy. This option would apply the ge-int group configuration to the ge-0/0/1 interface but not to its subinterface, ge-0/0/1.0. Therefore, this option would not achieve the desired outcome.
C. Apply the ge-int group to the configuration at the [edit interfaces ge-0/0/1 unit 0] hierarchy. This option would apply the ge-int group configuration to the ge-0/0/1.0 subinterface, overriding the inherited configuration. Therefore, this option would achieve the desired outcome, and the IP address 10.10.12.1/24 would be assigned only to the ge-0/0/1.0 interface.
D. Apply the ge-int group to the configuration at the [edit interfaces] hierarchy. This option would apply the ge-int group configuration to all interfaces and their subinterfaces on the router. As a result, the ge-0/0/1.0 interface would inherit the 10.10.12.1/24 IP address, and this option would not achieve the desired outcome.
Therefore, the correct answer is C. Apply the ge-int group to the configuration at the [edit interfaces ge-0/0/1 unit 0] hierarchy.