load-interval 30
## Inherited from group gd21
mac-accounting ingress
## Inherited from group gd21
mac-accounting egress
!
!
5
Verify that the inherited configuration actually takes effect:
RP/0/RP0/CPU0:router#
show mac-accounting GigabitEthernet0/0/0/21
GigabitEthernet0/0/0/21
Input (96 free)
6c9c.ed35.90fd:
1271 packets, 98426 bytes
Total: 1271 packets, 98426 bytes
Output (96 free)
6c9c.ed35.90fd:
774 packets, 63265 bytes
Total: 774 packets, 63264 bytes
Interface MTU Settings for Different Interface Types: Example
This example shows that an MTU value is configured on different interface types.
1
Configure an interface MTU configuration group and apply this group:
RP/0/RP0/CPU0:router#
show running group l2tr
group l2tr
interface 'GigabitEthernet0/0/0/3.*'
mtu 1500
!
interface 'GigabitEthernet0/0/0/9\..*'
mtu 1400
!
interface 'GigabitEthernet0/0/0/9\..*' l2transport
mtu 1400
!
end-group
RP/0/RP0/CPU0:router#
show running | inc apply-group
Building configuration...
apply-group l2tr
2
Check the concise view and the inheritance view of the various interfaces:
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet0/0/0/30
interface GigabitEthernet0/0/0/30
!
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet0/0/0/30
inheritance detail
interface GigabitEthernet0/0/0/30
## Inherited from group l2tr
mtu 1500
!
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet0/0/0/9.800
interface GigabitEthernet0/0/0/9.800
encapsulation dot1q 800
!
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet0/0/0/9.800 inheritance detail
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
94
Configuring Flexible Command Line Interface
Interface MTU Settings for Different Interface Types: Example