Purpose
Command or Action
Specifies the interface.
interface type number
Example:
Device(config)# interface gigabitethernet 1/0/0
Step 9
Configures an Ethernet service instance on an interface
and enters service instance configuration mode.
service instance id ethernet
Example:
Device(config-if)# service instance 200 ethernet
Step 10
Defines the matching criteria to be used to map ingress
dot1q frames on an interface to the appropriate service
instance.
encapsulation dot1q vlan-id
Example:
Device(config-if-srv)# encapsulation dot1q 100
Step 11
Applies a MAC ACL to control incoming traffic on the
interface.
mac access-group access-list-name in
Example:
Device(config-if-srv)# mac access-group
test-12-acl in
Step 12
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.
Layer 2 Configuration Guide for Cisco NCS 4200 Series
31
Layer 2 Access Control Lists on EVCs
Verifying the Presence of a Layer 2 ACL on a Service Instance