RP/0/RSP0/CPU0:router(config)#
To illustrate the use of this configuration group, assume that you want to configure these Gigabit Ethernet
interfaces with the ISIS routing parameters:
router isis green
interface GigabitEthernet0/0/0/0
lsp-interval 20
hello-interval 40
address-family ipv4 unicast
metric 10
!
!
interface GigabitEthernet0/0/0/1
lsp-interval 20
hello-interval 40
address-family ipv4 unicast
metric 10
!
!
interface GigabitEthernet0/0/0/2
lsp-interval 20
hello-interval 40
address-family ipv4 unicast
metric 10
!
!
interface GigabitEthernet0/0/0/3
lsp-interval 20
hello-interval 40
address-family ipv4 unicast
metric 10
!
!
!
There are three possible ways to use the configuration group to configure these interfaces. The first is by
applying the group within the interface configuration, as shown here:
router isis green
interface GigabitEthernet0/0/0/0
apply-group g-isis-gige
!
!
interface GigabitEthernet0/0/0/1
apply-group g-isis-gige
!
!
interface GigabitEthernet0/0/0/2
apply-group g-isis-gige
!
!
interface GigabitEthernet0/0/0/3
apply-group g-isis-gige
!
!
In this situation, only the interfaces to which you apply the configuration group inherit the configuration.
The second way to configure these interfaces using the configuration group is to apply the configuration group
within the router isis configuration, as shown here:
router isis green
apply-group g-isis-gige
interface GigabitEthernet0/0/0/0
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/2
!
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
139
Configuring Flexible Command Line Interface Configuration Groups
Configuration Examples Using Regular Expressions