configure terminal
mac access-list extended mac-07-acl
permit 00aa.bbcc.adec 0.0.0 any
permit 00aa.bbcc.bdec 0.0.0 any
permit 00aa.bbcc.cdec 0.0.0 any
deny any any
exit
interface gigabitethernet 10/0/0
service instance 100 ethernet
encapsulation dot1q 100
mac access-group mac-07-acl in
service instance 101 ethernet
encapsulation dot1q 101
mac access-group mac-07-acl in
service instance 102 ethernet
encapsulation dot1q 102
mac access-group mac-07-acl in
Verifying the Presence of a Layer 2 ACL on a Service Instance
Perform this task to verify that a Layer 2 ACL is present on an EVC. This verification task can be used after
an ACL has been configured to confirm its presence.
SUMMARY STEPS
1.
enable
2.
show ethernet service instance id id interface type number
detail
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Displays detailed information about Ethernet customer
service instances.
show ethernet service instance id id interface type
number
detail
Example:
Device# show ethernet service instance id 100
interface gigabitethernet 3/0/1 detail
Step 2
Layer 2 Configuration Guide for Cisco NCS 4200 Series
33
Layer 2 Access Control Lists on EVCs
Verifying the Presence of a Layer 2 ACL on a Service Instance