|
Command or Action |
Purpose |
|
enable
Example:
Device> enable
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
|
configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode. |
|
interface gigabitEthernet slot/port or interface tengigabitEthernet slot/port
Example:
Device(config)#interface GigabitEthernet 3/1
|
Specifies the Gigabit Ethernet interface to be configured, where:
-
slot/port --Specifies the location of the interface
|
|
service instance id {Ethernet [service-name]}
Example:
Device(config-if)#service instance 20 ethernet
|
Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv mode. |
|
encapsulation untagged dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}
Example:
Device(config-if-srv)#encapsulation dot1q 40 second-dot1q 42
|
Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance. |
|
rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]
Example:
[no] bridge-domain bridge-id c-mac
Example:
Device(config-if-srv)#rewrite ingress tag pop 1 symmetric
|
Specifies the tag manipulation that is to be performed on the frame ingress to the service instance. |
|
bridge-domain bridge-id c-mac
Example:
Device(config-if-srv)#bridge-domain 21 c-mac
|
Configuring the bridge domain. Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance. |
|
exit
Example:
Device(config-if-srv)#exit
|
Exits the service instance mode. |
|
exit
Example:
Device(config-if)#exit
|
Exits interface mode. |
|
ethernet mac-tunnel virtual mac-in-mac-tunnel-identifier
Example:
Device(config)#ethernet mac-tunnel virtual 22
|
Configures mac-in-mac tunnel and creates a tunnel identifier for the 802.1ah cloud. Sets the configuration to config-tunnel-minm mode. |
|
bridge-domain bridge-id
Example:
Device(config-tunnel-minm)#bridge-domain 200
|
Binds the mac tunnel to the B-MAC bridge domain instance. |
|
service instance id {Ethernet [service-name]}
Example:
Device(config-tunnel-minm)#service in 23 ethernet
|
Defines the service instance to be used with B-VLAN. Set the configuration mode to config-tunnel-srv mode. |
|
encapsulation dot1ah i-sid i-sid_number
Example:
Device(config-tunnel-srv)#encapsulation dot1ah isid 24
Example:
|
Defines the matching criteria to be used to map 802.1ah frames with I-SID id to the appropriate EVC. |
|
bridge-domain bridge-id c-mac
Example:
Device(config-tunnel-srv)#bridge-domain 21 c-mac
|
Maps the I-SID used for forwarding the customer packets to a specific EVC on the interface. The bridge-id mentioned step 7 must match with bridge-id in this step to ensure proper configuration. |
|
exit
Example:
Device(config-tunnel-srv)#exit
|
Exits the mac-tunnel service instance mode. |
|
exit
Example:
Device(config-tunnel-minm)#exit
|
Exits the mac-tunnel mode. |
|
exit
Example:
Device(config)#exit
|
Exits the global config mode. |