Apply Groups Priority Inheritance - Cisco ASR 9000 Series User Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Configuring Flexible Command Line Interface Configuration Groups
Command or Action
interface POS0/4/1/0
## Inherited from group G-INTERFACE-MTU
mtu 1500
!
interface POS0/4/1/1
mtu 2000
!
.
.
Step 4
show running-config interface x/y/z inheritance
config-command
Example:
RP/0/RSP0/CPU0:router# show running-config interface
pos0/4/1/0 inheritance [detail]
interface POS0/4/1/0
## Inherited from group G-INTERFACE-MTU
mtu 1500

Apply Groups Priority Inheritance

The inheritance is supported according to the priority.
Apply groups priority inheritance helps flexible configuration groups handle common configuration statements
between groups. When multiple configuration groups have common configuration statements, the inheritance
priority is configuration statements present in inner groups have precedence over configuration statements
present in outer groups. Tiebreaker is determined by the system order (lexicographical) of the regular
expressions. User defined order of commands are not accepted.
For example, a configuration statement in configuration group ONE has precedence over any other group. A
configuration statement in configuration group SEVEN is used only if it is not contained in any other group.
Within a configuration group, inheritance priority is lengthiest match.
apply-group SIX SEVEN
area 0
!
!
!
The above example states two scenarios. Inner most group (apply-group ONE TWO) has the highest priority.
Case 1
In the first scenario it shows which group gets the first priority. The example states which group is applied
between different configuration groups (different groups- nothing in common between them). While applying
the group one (ONE TWO), all the seven groups that matches to the interface
0/0/0/0
router ospf 0
apply-group FOUR FIVE
apply-group THREE
interface GigabitEthernet 0/0/0/0
apply-group ONE TWO
will be applied.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
Apply Groups Priority Inheritance
Purpose
Displays the inherited configuration for a specific
configuration command.
interface GigabitEthernet
135

Advertisement

Table of Contents
loading

Table of Contents