PurposeCommand or Action
interface POS0/4/1/0
## Inherited from group G-INTERFACE-MTU
mtu 1500
!
interface POS0/4/1/1
mtu 2000
!
.
.
Displays the inherited configuration for a specific
configuration command.
show running-config interface x/y/z inheritance
config-command
Example:
RP/0/RSP0/CPU0:router# show running-config interface
Step 4
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
router ospf 0
apply-group FOUR FIVE
area 0
apply-group THREE
interface GigabitEthernet 0/0/0/0
apply-group ONE TWO
!
!
!
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 interface GigabitEthernet
0/0/0/0 will be applied.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
135
Configuring Flexible Command Line Interface Configuration Groups
Apply Groups Priority Inheritance