![SNR S2940-8G-v2 Configuration Manual Download Page 195](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630195.webp)
SNR S2940-8G-v2 Switch Configuration Guide
Flexible QinQ Configuration
Chapter 28
Flexible QinQ Configuration
28.1
Introduction to Flexible QinQ
28.1.1
QinQ Technique
Dot1q-tunnel is also called QinQ (802.1Q-in-802.1Q), which is an expansion of 802.1Q. Its domi-
nating idea is encapsulating the customer VLAN tag (CVLAN tag) to the service provider VLAN tag
(SPVLAN tag). The packet with two VLAN tags is transmitted through the backbone network of
the ISP internet to provide a simple layer-2 tunnel for the users. It is simple and easy to manage,
applicable only by static configuration, and especially adaptive to small office network or small
metropolitan area network using layer-3 switch as backbone equipment.
There are two kinds of QinQ: basic QinQ and flexible QinQ, the priority of flexible QinQ is higher
than basic QinQ.
28.1.2
Basic QinQ
Basic QinQ based the port. After a port configures QinQ, whether the received packet with tag or
not, the device still packs the default VLAN tag for the packet. Using basic QinQ is simple, but the
setting method of VLAN tag is inflexible.
28.1.3
Flexible QinQ
Flexible QinQ based data flow. It selects whether pack the external tag and packs what kind of
the external tag by matching the material flow. For example: implement the property of flexible
QinQ according to the user's VLAN tag, MAC address, IPv4/IPv6 address, IPv4/IPv6 protocol
and the port ID of the application, etc. So, it can encapsulate the external tag for the packet and
implements different scheme by different users or methods.
28.2
Flexible QinQ Configuration Task List
The match of flexible QinQ data flow uses policy-map rule of QoS to be sent, the configuration
task list is as follows:
1. Create class-map to classify different data flows
195
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...