Hi Alan,
I don't think there is a complete list of the pre-defined groups in Junos, but the ones I know of are:
re0
(M/MX/EX chassis)
re1
(M/MX/EX chassis)
member0..9
(EX/QFX Virtual Chassis)
node0..1
(SRX)
sfc0
(TX Matrix platform)
sfc0_alt_re
(TX Matrix platform)
lcc0
(TX Matrix platform)
lcc0_alt_re
(TX Matrix platform)
lcc2
(TX Matrix platform)
lcc2_alt_re
(TX Matrix platform)
lcc4
(TX Matrix platform)
lcc4_alt_re
(TX Matrix platform)
lcc6
(TX Matrix platform)
lcc6_alt_re
(TX Matrix platform)
lcc7
(TX Matrix platform)
lcc7_alt_re
(TX Matrix platform)
These "special" groups will all apply configuration to a specific hardware element in a clustered system.
For example, you will most likely want to configure a unique management address on the primary and secondary Routing Engine of a chassis. Since the interface is named
fxp0
on both primary and secondary REs, you would use the groups
re0
and
re1
to ensure that the IP address is assigned to the correct RE even though the configuration is shared eg:
set groups re0 interfaces fxp0 unit 0 family inet 10.255.255.1/24
set groups re1 interfaces fxp0 unit 0 family inet 10.255.255.2/24
set apply-groups [re0 re1]
There is also another pre-defined configuration group named
junos-defaults
.
If you type
show configuration groups junos-defaults
Junos will display the hidden default configuration settings for the platform.
This is especially useful on SRX where
show configuration groups junos-defaults applications
will give you good insight into the out-of-the-box application definitions.
------------------------------
Cheers,
Ben Dale
JNCIE-SEC #63
JNCIP-SP
JNCIP-ENT
JNCIP-DC
------------------------------
Original Message:
Sent: 07-27-2021 03:37
From: Unknown User
Subject: Juniper groups
Hi
Where can we see the pre-defined groups that Junos recognize ?
e.g. re0 / re1 / member0 / member1
What does the "global" group means ?
e.g. edit groups global
Does group have precedence over individual statement ?
Thank you