Example For Configuring A Static Mac Address On A Service Instance - Cisco NCS 4200 Series Configuration Manual

Layer 2
Hide thumbs Also See for NCS 4200 Series:
Table of Contents

Advertisement

Static MAC Address Support on Service Instances
Command or Action
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
interface type number
Example:
Router(config)# interface GigabitEthernet
0/2/1
Step 4
service instance id ethernet [evc-id]
Example:
Router(config-if)# service instance 1 ethernet
Step 5
encapsulation dot1q vlan-id [, vlan-id[- vlan-id]] [native]
Example:
Router(config-if-srv)# encapsulation dot1q 100
Step 6
bridge-domain bridge-id [split-horizon[group group-id]]
Example:
Router(config-if-srv)# bridge-domain 100
Step 7
mac static address mac-addr [auto-learn]
Example:
Router(config-if-srv)# mac static address
0000.bbbb.cccc
Step 8
exit
Example:
Router(config-if-srv)# exit

Example for Configuring a Static MAC Address on a Service Instance

Router> enable
Router# configure terminal
Router(config)# interface GigabitEthernet 0/2/1
Example for Configuring a Static MAC Address on a Service Instance
Purpose
Enters global configuration mode.
Configures an interface type and enters interface
configuration mode.
Configures an Ethernet service instance on an interface
and enters service instance configuration mode.
Enables IEEE 802.1Q encapsulation of traffic on a
specified subinterface in a VLAN.
Binds a service instance to a bridge domain instance.
Configures a static MAC address.
Returns the CLI to privileged EXEC mode.
Layer 2 Configuration Guide for Cisco NCS 4200 Series
73

Advertisement

Table of Contents
loading

Table of Contents