Hello Ahmedlmad
Actually, we can use VLANs within the Metro Ethernet infrastructure of the ISP to interconnect multiple customer sites. It is natively part of Ethernet so there is no restriction to using it. However, there are some good reasons not to use VLANs that have primarily to do with scalability, reliability, and security. One issue, in particular, is that you can have only up to 4096 unique VLAN IDs based on the 12-bit VLAN ID field in the VLAN tag. Many ISPs will have more customers than the VLAN ID can provide.
Some technologies such as 802.1Q also known as QinQ, help to resolve this, by assigning a single ISP VLAN to a customer, and that customer can tunnel all of their own VLANs through that single ISP VLAN. However, even with QinQ, scalability is still an issue.
Typically VPLS, VPWS and connect are preferred over simple VLANs for Metro Ethernet. WHere each one will be used depends upon the ISPs backbone equipment but also on customer requirements and the desired level of service and security. Here is a brief description of how you would use each of these other technologies:
VPLS provides a point-to-multipoint Layer 2 VPN service delivering a virtualized Ethernet switching service across an IP/MPLS network. It is suitable for customers who require a seamless, transparent LAN service between multiple sites. VPLS is more scalable than VLANs and supports advanced features like QoS (Quality of Service).
VPWS is a point-to-point Layer 2 VPN service that emulates a virtual leased line or virtual private circuit between customer sites. It is suitable for customers who require a dedicated, point-to-point connection between two sites. VPWS is simpler to implement than VPLS but doesn’t provide the full Ethernet switching functionality.
Xconnect, which can be either L2TPv3 or MPLS based, is a point-to-point Layer 2 tunneling mechanism that can be used to transport customer traffic between two sites. It can be used with either L2TPv3 or MPLS as the underlying transport technology. Xconnect is a more basic service than VPLS or VPWS and may be suitable for customers who require a simple, point-to-point Layer 2 connectivity service.
I hope this has been helpful!
Laz