GigabitEthernet0/0/0/9.250 is up, line protocol is up
Interface state transitions: 1
Hardware is VLAN sub-interface(s), address is 0026.9824.ee41
Layer 2 Transport Mode
MTU 1400 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
reliability Unknown, txload Unknown, rxload Unknown
Encapsulation 802.1Q Virtual LAN,
Outer Match: Dot1Q VLAN 250
Ethertype Any, MAC Match src any, dest any
loopback not set,
Last input never, output never
Last clearing of "show interface" counters never
0 packets input, 0 bytes
0 input drops, 0 queue drops, 0 input errors
0 packets output, 0 bytes
0 output drops, 0 queue drops, 0 output errors
ACL Referencing: Example
This example shows how to reference access-lists on a number of interfaces using configuration groups.
1
Configure the configuration group and apply-group:
RP/0/RP0/CPU0:router#
show running group acref
group acref
interface 'GigabitEthernet0/0/0/3.*'
ipv4 access-group adem ingress
ipv4 access-group adem egress
!
end-group
RP/0/RP0/CPU0:router#
show running | inc apply-group
Building configuration...
apply-group isis l2tr isis2 mpp bundle1 acref
2
Check the concise and inheritance view of the matching configurations:
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet 0/0/0/30
interface GigabitEthernet0/0/0/30
!
RP/0/RP0/CPU0:router#
show running interface GigabitEthernet 0/0/0/30 inheritance detail
interface GigabitEthernet0/0/0/30
## Inherited from group l2tr
mtu 1500
## Inherited from group acref
ipv4 access-group adem ingress
## Inherited from group acref
ipv4 access-group adem egress
!
RP/0/RP0/CPU0:router#
show running interface gigabitEthernet 0/0/0/31
interface GigabitEthernet0/0/0/31
!
RP/0/RP0/CPU0:router#
show running interface GigabitEthernet 0/0/0/31 inheritance detail
interface GigabitEthernet0/0/0/31
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
96
Configuring Flexible Command Line Interface
ACL Referencing: Example