Verifying the Configuration of Configuration Groups
Command or Action
interface 'GigabitEthernet.*'
mtu 1000
negotiation auto
!
end-group
Step 2
show running-config
Example:
RP/0/RP0/CPU0:router# show running-config
group G-INTERFACE-MTU
interface 'GigabitEthernet.*'
mtu 1500
!
end-group
interface GigabitEthernet0/4/1/0
apply-group G-INTERFACE-MTU
!
interface GigabitEthernet0/4/1/1
apply-group G-INTERFACE-MTU
mtu 2000
!
Step 3
show running-config inheritance
Example:
RP/0/RP0/CPU0:router# show running-config inheritance
.
.
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
!
.
.
Step 4
show running-config interface x/y/z inheritance detail
Example:
RP/0/RP0/CPU0:router# show running-config interface
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
Purpose
Displays the running configuration. Any applied groups
are displayed. There is no indication as to whether these
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
2000 and not 1500. This happens if the command mtu
2000 is configured directly on the interface. An actual
configuration overrides a configuration group
configuration if they are the same.
Displays the inherited configuration where ever a
configuration group has been applied.
Displays the inherited configuration for a specific
configuration command.