Purpose
Command or Action
interface 'GigabitEthernet.*'
mtu 1000
negotiation auto
!
end-group
Displays the running configuration. Any applied groups
are displayed. There is no indication as to whether these
show running-config
Example:
RP/0/RP0/CPU0:router#
show running-config
Step 2
configuration groups affect the actual configuration or
not. In this example, although the group
G-INTERFACE-MTU is applied to
GigabitEthernet0/4/1/1, the configured MTU value is
group G-INTERFACE-MTU
2000 and not 1500. This happens if the command
mtu
interface
‘
GigabitEthernet.*
’
mtu 1500
2000
is configured directly on the interface. An actual
!
configuration overrides a configuration group
configuration if they are the same.
end-group
interface GigabitEthernet0/4/1/0
apply-group G-INTERFACE-MTU
!
interface GigabitEthernet0/4/1/1
apply-group G-INTERFACE-MTU
mtu 2000
!
Displays the inherited configuration where ever a
configuration group has been applied.
show running-config inheritance
Example:
RP/0/RP0/CPU0:router#
show running-config inheritance
Step 3
.
.
group G-INTERFACE-MTU
interface
‘
GigabitEthernet.*
’
mtu 1500
!
end-group
.
.
interface GigabitEthernet0/4/1/0
## Inherited from group G-INTERFACE-MTU
mtu 1500
!
interface GigabitEthernet0/4/1/1
mtu 2000
!
.
.
Displays the inherited configuration for a specific
configuration command.
show running-config interface x/y/z inheritance detail
Example:
RP/0/RP0/CPU0:router#
show running-config interface
Step 4
GigabitEthernet0/4/1/0 inheritance detail
interface GigabitEthernet/4/1/0
## Inherited from group G-INTERFACE-MTU
mtu 1500
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
82
Configuring Flexible Command Line Interface
Verifying the Configuration of Configuration Groups