Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Router# configure terminal
Step 2
Configures an interface type and enters interface
configuration mode.
interface type number
Example:
Router(config)# interface GigabitEthernet
0/2/1
Step 3
Configures an Ethernet service instance on an interface
and enters service instance configuration mode.
service instance id ethernet
[
evc-id
]
Example:
Router(config-if)# service instance 1 ethernet
Step 4
Enables IEEE 802.1Q encapsulation of traffic on a
specified subinterface in a VLAN.
encapsulation dot1q vlan-id
[
, vlan-id
[
- vlan-id
]] [
native
]
Example:
Router(config-if-srv)# encapsulation dot1q 100
Step 5
Binds a service instance to a bridge domain instance.
bridge-domain bridge-id
[
split-horizon
[
group group-id
]]
Example:
Router(config-if-srv)# bridge-domain 100
Step 6
Configures a static MAC address.
mac static address mac-addr
[
auto-learn
]
Example:
Router(config-if-srv)# mac static address
0000.bbbb.cccc
Step 7
Returns the CLI to privileged EXEC mode.
exit
Example:
Router(config-if-srv)# exit
Step 8
Example for Configuring a Static MAC Address on a Service Instance
Router>
enable
Router#
configure terminal
Router(config)#
interface GigabitEthernet 0/2/1
Layer 2 Configuration Guide for Cisco NCS 4200 Series
73
Static MAC Address Support on Service Instances
Example for Configuring a Static MAC Address on a Service Instance