SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
service instance id
ethernet
5.
encapsulation dot1q vlan-id
6.
bridge-domain bridge-id
7.
mac security
8.
end
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Device# configure terminal
Step 2
Specifies the interface type and number, and enters interface
configuration mode.
interface type number
Example:
Device(config)# interface gigabitethernet2/0/1
Step 3
Creates a service instance on an interface and enters service
instance configuration mode.
service instance id
ethernet
Example:
Device(config-if)# service instance 100
ethernet
Step 4
Defines the matching criteria to be used in order 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 5
Binds the service instance to a bridge- domain instance
where
bridge-id
is the identifier for the bridge- domain
instance.
bridge-domain bridge-id
Example:
Device(config-if-srv)# bridge-domain 200
Step 6
Layer 2 Configuration Guide for Cisco NCS 4200 Series
44
Configuring MAC Address Security on Service Instances and EVC Port Channels
Enabling MAC Security on a Service Instance