Configuring Flexible Command Line Interface
This module describes how to configure and use flexible command line interface (CLI) configuration groups.
•
•
•
•
•
•
Flexible CLI Configuration Groups
Flexible command line interface (CLI) configuration groups provide the ability to minimize repetitive
configurations by defining a series of configuration statements in a configuration group, and then applying
this group to multiple hierarchical levels in the router configuration tree.
Flexible CLI configuration groups utilize regular expressions that are checked for a match at multiple submodes
of the configuration tree based on where the group is applied within the hierarchy. If a match is found at a
configuration submode, the corresponding configuration defined in the group is inherited within the matched
submode.
Flexible CLI configuration groups also provide an auto-inheritance feature. Auto-inheritance means that any
change done to a CLI configuration group is automatically applied to the configuration in any matched
submodes that have an apply-group at that hierarchical level. This allows you to make a configuration change
or addition once, and have it applied automatically in multiple locations, depending on where you have applied
the flexible CLI configuration group.
Flexible Configuration Restrictions
Note these restrictions while using flexible configuration groups:
• Flexible CLI configuration groups are not supported in administration configurations and corresponding
Flexible CLI Configuration Groups, page 77
Configuration Examples for Flexible CLI Configuration, page 93
apply-groups are not supported in administration configurations.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
8
C H A P T E R
77