Download Junos® OS CLI User Guide

Transcript
CLI User Guide
Verification
Confirm that the configuration is working properly.
•
Checking Group Inheritance with Conditional Data on page 222
Checking Group Inheritance with Conditional Data
Purpose
Action
Verify that conditional data from a configuration group is inherited when applied.
The show | display inheritance operational command can be issued with the when data
to display the conditional inheritance. Using this example, you could issue one of these
commands to determine that the conditional data was inherited:
user@host> show | display inheritance when model mx240
user@host> show | display inheritance when chassis lcc0
user@host> show | display inheritance when routing-engine re0
user@host> show | display inheritance when member member0
user@host> show | display inheritance when node node0
user@host> show | display inheritance when time 9 to 5
Related
Documentation
•
Understanding Junos OS Configuration Groups on page 198
•
Creating a Junos OS Configuration Group on page 199
•
Applying a Junos OS Configuration Group on page 201
•
Using Conditions to Apply Configuration Groups Overview on page 219
Improving Commit Time When Using Configuration Groups
Configuration groups are used for applying configurations across other hierarchies without
re-entering configuration data. Some configuration groups specify every configuration
detail. Other configuration groups make use of wildcards to configure ranges of data,
without detailing each configuration line. Some configurations have an inheritance path
that includes a long string of configurations to be applied.
When a configuration that uses configuration groups is committed, the commit process
expands and reads all of the configuration data of the group into memory in order to
apply the configurations as intended. The commit performance can be negatively
impacted if many configuration groups are being applied, especially if the configuration
groups use wildcards extensively.
If your system uses many configuration groups that use wildcards, you can configure the
persist-groups-inheritance statement at the [edit system commit] hierarchy level to
improve commit time performance.
Using this option allows the system to build the inheritance path for each configuration
group inside the database, instead of in the process memory. This can improve commit
time performance. However, it can also can increase the database size by up to 22 percent.
222
Copyright © 2014, Juniper Networks, Inc.