interface GigabitEthernet0/0/0/3
!
!
In this way, any other Gigabit Ethernet interfaces that you configure in the ISIS green configuration also
inherit these configurations.
The third way to configure these interfaces using the configuration group is to apply the group at the global
level as shown here:
apply-group g-isis-gige
router isis green
interface GigabitEthernet0/0/0/0
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/2
!
interface GigabitEthernet0/0/0/3
!
!
In this example, the configuration of the group is applied to all Gigabit Ethernet interfaces configured for
ISIS.
Configuration Group Inheritance with Regular Expressions: Example
Local Configuration Has Precedence Over Configuration Group
An explicit configuration takes precedence over a configuration applied from a configuration group. For
example, assume that this configuration is running on the router:
router ospf 100
packet-size 1000
!
You configure this configuration group, apply it, and commit it to the configuration.
RP/0/RSP0/CPU0:router(config)# group g-ospf
RP/0/RSP0/CPU0:router(config-GRP)# router ospf '.*'
RP/0/RSP0/CPU0:router(config-GRP-ospf)# nsf cisco
RP/0/RSP0/CPU0:router(config-GRP-ospf)# packet-size 3000
RP/0/RSP0/CPU0:router(config-GRP-ospf)# end-group
RP/0/RSP0/CPU0:router(config)# apply-group g-ospf
The result is effectively this configuration:
router ospf 100
packet-size 1000
nsf cisco
Note that packet-size 3000 is not inherited from the configuration group because the explicit local
configuration has precedence.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
140
Configuring Flexible Command Line Interface Configuration Groups
Configuration Examples Using Regular Expressions