Purpose
Command or Action
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Device# configure terminal
Step 2
Specifies the port channel group number and enters interface
configuration mode.
interface port-channel channel-group
Example:
Device(config)# interface port-channel 2
Step 3
•
Acceptable values are integers from 1 to 64.
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
Enables MAC security on the service instance.
mac security
Example:
Device(config-if-srv)# mac security
Step 7
Returns to user EXEC mode.
end
Example:
Device(config-if-srv)# end
Step 8
Layer 2 Configuration Guide for Cisco NCS 4200 Series
46
Configuring MAC Address Security on Service Instances and EVC Port Channels
Enabling MAC Security on an EVC Port Channel