Configuration Groups

Configuration Groups

Quiz Page

Test your understanding of key concepts with a short quiz. A quick way to check what you know before moving on.

Lab Page

Hands-on practice exercises to reinforce what you’ve learned. Work through real scenarios in a guided environment.

Notes

Configuration groups are reusable blocks of configuration that can be applied multiple times. This makes it similar to a template.

The contents of a configuration group are just normal configuration items. However, it does support regex, so sometimes it may look different.

When a configuration group is applied, it won’t be visible in the normal configuration hierarchy. To see the changes applied by a configuration group, use show configuration | display inheritance.

Good usage of configuration groups includes debugging. You can have your debugging commands ready to go in a group, and only apply them as you need them.

Command Summary

CommandModeDescription
set groups NAMEConfigurationCreate a configuration group
set apply-groups NAMEConfigurationApply a configuration group
show | display inheritanceConfigurationSee the config that has been inherited from the configuration group
wildcard deleteConfigurationUse regex to delete multiple items from configuration

Additional References

Using Configuration Groups to Quickly Configure Devices

Junos Configuration Groups

Leave a Reply