Mendlar wrote:
Both try to set the description, but only one is parsed last. Your MASTER2 apply-groups directive will be applied last since it is the farthest in the stanza.
You can confirm it using "show | display commit-scripts view" in configuration mode. It'll show you the XML output of the script and there should be something like "<description junos:group="MASTER2" junos:changed="changed">server</description>" under your fxp2 interface configuration.
Mendlar,
I see. So am I correct that in case
MASTER2 is after the
MASTER apply-group in configuration:
Code:
root> show configuration interfaces fxp2
apply-groups MASTER;
unit 0 {
apply-groups MASTER2;
}
root>
..the description will be
server:
Code:
root> show interfaces descriptions
Interface Admin Link Description
fxp2.0 up up server
root>
..and in case
MASTER is after the
MASTER2 apply-group in configuration:
Code:
root> show configuration interfaces fxp2
apply-groups MASTER2;
unit 0 {
apply-groups MASTER;
}
root>
..the description will be
switch:
Code:
root> show interfaces descriptions
Interface Admin Link Description
fxp2.0 up up switch
root>
In addition to this, is the configuration, which is used by the JUNOS for processes configurations, actually the one in
show configuration | display commit-scripts view output?
