Configuration groups are used to aggregate the common attributes in Junos configuration. The groups allow you to create smaller, more logically constructed configuration files, making it easier to configure and maintain the Junos software. To use configuration groups on logical systems's configuration, the groups must be defined at correct hierarchy.
While using groups in [logical-systems] configuration hierarchy, if the groups defined for the root system are simply applied under logical systems, the commit will be successful but those groups will not take effect.
[logical-systems]
show | display inheritance
groups {
OSPF-use-MD5 {
protocols {
ospf {
area <*> {
authentication-type md5;
}
apply-groups OSPF-use-MD5;
area 0.0.0.0 {
interface lo0.0;
logical-systems {
LS {
interface lo0.1;
user@router# show protocols | display inheritance
##
## 'md5' was inherited from group 'OSPF-use-MD5'
[edit]
user@router# show logical-systems | display inheritance
LS-OSPF-use-MD5 {
<*> {
apply-groups LS-OSPF-use-MD5;
2019-06-15: update product list to include SRX Series