11-21
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 11 Configuring Ethernet Virtual Connections (EVCs)
Configuring Other Features on EFPs
•
For 2-to-1 VLAN translation (EFP to EFP), ingress port configuration:
Switch (config)#
interface gigabitethernet0/1
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
service instance 10 Ethernet
Switch (config-if-srv)#
encapsulation dot1q 10 second-dot1q 20
Switch (config-if-srv)#
rewrite ingress tag pop 2 symmetric
Switch (config-if-srv)#
bridge-domain 10
Egress port configuration:
Switch (config)#
interface gigabitethernet0/2
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
service instance 10 Ethernet
Switch (config-if-srv)#
encapsulation dot1q 30
Switch (config-if-srv)#
rewrite ingress tag pop 1 symmetric
Switch (config-if-srv)#
bridge-domain 10
•
For 2-to-2 VLAN translation (EFP to EFP), ingress port configuration:
Switch (config)#
interface gigabitethernet0/1
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
service instance 10 Ethernet
Switch (config-if-srv)#
encapsulation dot1q 10 second-dot1q 20
Switch (config-if-srv)#
rewrite ingress tag pop 2 symmetric
Switch (config-if-srv)#
bridge-domain 10
Egress port configuration:
Switch (config)#
interface gigabitethernet0/2
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
service instance 10 Ethernet
Switch (config-if-srv)#
encapsulation dot1q 30 second-dot1q 40
Switch (config-if-srv)#
rewrite ingress tag pop 2 symmetric
Switch (config-if-srv)#
bridge-domain 10
Layer 2 Protocol Tunneling
Customers at different sites connected across a service-provider network need to use various Layer 2
protocols to scale their topologies to include all remote sites, as well as the local sites. STP must run
properly, and every VLAN should build a proper spanning tree that includes the local site and all remote
sites across the service-provider network. Cisco Discovery Protocol (CDP) must discover neighboring
Cisco devices from local and remote sites.
VLAN Trunking Protocol (VTP) must provide consistent VLAN configuration throughout all sites in the
customer network that are participating in VTP. Similarly, DTP, LACP, LLDP, PAgP, and UDLD can also
run across the service-provider network.
When protocol tunneling is enabled, edge switches on the inbound side of the service-provider network
encapsulate Layer 2 protocol packets with a special MAC address (0100.0CCD.CDD0) and send them
across the service-provider network. Core switches in the network do not process these packets but
forward them as normal (unknown multicast data) packets. Layer 2 protocol data units (PDUs) for the