Bitzu

JN0-106 ยท Interfaces and system services

Configuration groups

Defining groups, apply-groups, wildcards, inheritance and show | display inheritance.

Key points

  • Group: reusable configuration block under [edit groups name], applied with apply-groups where it should take effect.
  • Wildcards: in angle brackets, such as <ge-*>; one group can configure many interfaces.
  • Inheritance is dynamic; a value set directly at a level beats an inherited one.
  • Several groups: the first listed has priority.
  • show | display inheritance: shows which group each inherited line comes from.

Source: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/topic-map/configuration-groups-usage.html

Practice questions

Single choice

Which statement makes a configuration group take effect at a hierarchy level?

  1. use-group
  2. inherit
  3. apply-groups
  4. include-groups
Show answer

Answer: C. apply-groups

apply-groups, listing group names, is the statement that activates inheritance. The other three are not Junos statements.

Select all that apply

Which statements about configuration groups are correct?

  1. Changing a group updates everything that inherits from it
  2. Several apply-groups statements may be used at one hierarchy level
  3. Groups are removed from the config once applied
  4. A wildcard pattern is written inside angle brackets
  5. With several groups in apply-groups, the first has priority
Show answer

Answer: A. Changing a group updates everything that inherits from it, D. A wildcard pattern is written inside angle brackets, E. With several groups in apply-groups, the first has priority

Wildcards use <>, the first listed group wins and inheritance is live. Only one apply-groups statement is allowed per level, and groups stay defined after being applied.

True or false

True or false: show configuration lists inherited statements and the group they come from.

Show answer

Answer: False

False. Plain show configuration displays only what is written at each level. Use show | display inheritance to see inherited lines and their source group.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module