DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-2
The following figure illustrates the course of adding two tags. The ingress of
edge device is dot1q-tunnle port (or abbreviated as tunnel port). All frames
entering the edge device are considered to be untagged, no matter wheter are
really untagged or tagged with 802.1Q tag, and then are encapsulated with the
tag of ISP. VLAN ID is the default VLAN of tunnle port.
Fiugre 2 Packet structure with two tags
12.1.1 Basic QinQ
Basic QinQ is enabled based on port. When tunnel port is configured, the
device will add the VLAN tag of the default VLAN of the tunnel port to the packet
arriving the tunnel port. If the packet is already of a VLAN tag, this means it has
two tags. Basic QinQ is simple, but the encapsulation of outer VLAN tag is not
flexible enough.
12.1.2 Flexible QinQ
Flexible QinQ can flexibly encapsulate different outer VLAN tags for different
flows by flow classification method like user VLAN tag, MAC address, IP
protocol, source address, destination address, priority or port number of
application program.
You can:
Add outer VLAN tag by inner VLAN tag
Modify inner VLAN tag by outer VLAN tag
Modify outer VLAN tag by inner VLAN tag
Add outer VLAN tag by ACL
Modify outer VLAN tag by ACL