0% found this document useful (0 votes)
127 views

L2 QinQ

QinQ allows Ethernet frames to carry two VLAN tags, known as a tag stack. When a packet travels from a customer to a service provider VLAN, QinQ tunneling adds an 802.1Q tag for the service provider VLAN before the customer VLAN tag. When the packet leaves the service provider VLAN, the additional tag is removed. QinQ tunneling preserves customer VLAN class-of-service values and may require adjusting MTU sizes on access and trunk ports to accommodate the additional VLAN tag.

Uploaded by

Radhey Singh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views

L2 QinQ

QinQ allows Ethernet frames to carry two VLAN tags, known as a tag stack. When a packet travels from a customer to a service provider VLAN, QinQ tunneling adds an 802.1Q tag for the service provider VLAN before the customer VLAN tag. When the packet leaves the service provider VLAN, the additional tag is removed. QinQ tunneling preserves customer VLAN class-of-service values and may require adjusting MTU sizes on access and trunk ports to accommodate the additional VLAN tag.

Uploaded by

Radhey Singh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

OSI model

QinQ
IEEE 802.1ad is an Ethernet networking standard informally known as IEEE 802.1QinQ[ and is an amendment to IEEE standard IEEE 802.1Q-1998 QinQ allows multiple VLAN tags in an Ethernet frame; together these tags constitute a tag stack. When used in the context of an Ethernet frame, a QinQ frame is a frame that has 2 VLAN 802.1Q headers (double-tagged)

Vlan-QinQ

How Q-in-Q Tunneling Works


In Q-in-Q tunneling, as a packet travels from a customer VLAN (CVLAN) to a service provider's VLAN (S-VLAN), another 802.1Q tag for the appropriate S-VLAN is added before the C-VLAN tag. As the packet leaves the S-VLAN, the S-VLAN 802.1Q tag is removed. You can map one C-VLAN to one S-VLAN or multiple C-VLANs to one S-VLAN When Q-in-Q tunneling is enabled, trunk interfaces are assumed to be part of the service provider Access interfaces are assumed to be customer-facing

Q-in-Q tunneling does not affect any class-of-service (CoS) values that are configured on a C-VLAN. These settings are retained in the C-VLAN tag and can be used after a packet leaves an S-VLAN Depending on your interface configuration, you might need to adjust the MTU value on your trunk or access ports to accommodate the 4 bytes used for the tag added by Q-in-Q tunneling. For example, if you use the default MTU value of 1514 bytes on your access and trunk ports, you need to make one of the following adjustments: 1). Reduce the MTU on the access links by at least 4 bytes so that the frames do not exceed the MTU of the trunk link when S-VLAN tags are added. 2). Increase the MTU on the trunk link so that the link can handle the larger frame size.

Vlan

Pkts

pkt

pkt

Pkts

pkt S C pkt

pkt

Pkts

pkt

pkt

Pkts

pkt

pkt

You might also like