Select Page

q-in-q-vlan-tagging

CONFIGURATION

CE1 :

set interfaces fe-0/0/0.0 family ethernet-switching
set interfaces fe-0/0/7.0 family ethernet-switching port-mode trunk
set vlans v100 vlan-id 100
set vlans v100 interface fe-0/0/0.0
set vlans v100 interface fe-0/0/7.0

PE1 :
set interfaces ge-0/0/0.0 family ethernet-switching
set interfaces ge-0/0/7.0 family ethernet-switching port-mode trunk
set vlans v200 vlan-id 200
set vlans v200 interface ge-0/0/0.0
set vlans v200 interface ge-0/0/7.0
set vlans v200 dot1q-tunneling

PE2 :
set interfaces ge-0/0/0.0 family ethernet-switching
set interfaces ge-0/0/7.0 family ethernet-switching port-mode trunk
set vlans v200 vlan-id 200
set vlans v200 interface ge-0/0/0.0
set vlans v200 interface ge-0/0/7.0
set vlans v200 dot1q-tunneling

CE2 :
set interfaces ge-0/0/0.0 family ethernet-switching
set interfaces ge-0/0/7.0 family ethernet-switching port-mode trunk
set vlans v100 vlan-id 100
set vlans v100 interface ge-0/0/0.0
set vlans v100 interface ge-0/0/7.0

 
PC1 and PC2 should be able to communicate with each other.
Q-in-Q tunneling, defined by the IEEE 802.1ad standard, allows service providers on Ethernet access networks to extend a Layer 2 Ethernet connection between two customer sites. 
In Q-in-Q tunneling, as a packet travels from a customer VLAN (C-VLAN) to a service provider’s VLAN, a service provider-specific 802.1Q tag is added to the packet. This additional tag is used to segregate traffic into service-provider-defined service VLANs (S-VLANs). The original customer 802.1Q tag of the packet remains and is transmitted transparently, passing through the service provider’s network. As the packet leaves the S-VLAN in the downstream direction, the extra 802.1Q tag is removed.

The Juniper All-Access | Reading List

Leave a reply

Your email address will not be published. Required fields are marked *

Share on print
Print
Share on google
Google+
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

ADENTECH guides

We love to help.

Get our newsletter, join the community: