You are on page 1of 18

ZXR10 2900 Switch QinQ Principle and

Configuration
V2.1

Objectives  Know QinQ protocol and configuration .

Content   QinQ Principle QinQ Configuration .

. QinQ technology encapsulates the original VLAN tag (inner tag) with another VLAN tag (outer tag) so that the inner tag is masked. applicable to small-sized LANs with L3 switches as their core.QinQ/SVLAN Basic Principle   QinQ.1Q based tunnel protocol. is a graphic name for the IEEE 802. QinQ implements simple Layer 2 VPN (L2VPN) without protocol support. also known as VLAN stack.

What is QinQ?   QinQ major feature is that private VLAN and service are transparently transmitted to another end. The message transmitted in the backbone network has two layers 802. another is private network tag (inner tag). without any conflict with those of the SP network. One is public network tag (outer tag). This allows the customer considerable flexibility for Private VLAN ID planning. .1q tag.

SPVLAN (vlan1-100) SPVLAN SPVLAN (vlan1-100) PE Vlan1-100 Customer A (vlan1-100) PE Vlan1-100 Customer B . another identifies service provider network.QinQ/SVLAN Basic Principle  QinQ technology encapsulates the original VLAN tag (inner tag) with another VLAN tag (outer tag) .One identifies customer network.

QinQ/SVLAN Basic Principle  The message structure which has double VLAN tags is as follows: DA SA Nested vlan tag Use vlan tag ETYPE DATA .

QinQ/SVLAN Basic Principle  8100 which is in the red frame represents 802.1Q frame header ; 0A represents outer tag VLAN ID = 10 , 02 represents inner tag VLAN ID = 2. Two 8100s mean that there are two layers 802.1Q frame structure. .

Sorting by port adds links and network is so complex. . which is not good for maintenance. exit is hoped to keep one inner tag and isolated by port.QinQ/SVLAN Basic Principle  Ordinary QinQ limitation Unicastvlan vlan100 vlan101 vlan2000 vlan199 PPPOE Unicastvlan vlan2001 vlan200 vlan201 vlan999 vlan299 vlan999 Multicastvlan BRAS By port Ordinary QinQ can’t support multiple outer tags on one port to support multiple services. For multicast service.

vlan100 n vlan101 pri vlan2000 vlan199 unicastvlan vlan200 vlan201 vlan2001 pri vlan999 vlan299 pri vlan999 multicastvlan PPPOE By vlan Implement multiple VLAN service IDs separation on one port. Select port specific VLAN and encapsulate outer tag. Implement single port multiple services VLAN unicastvla separation. BRAS .QinQ/SVLAN Basic Principle    Selective QinQ extends early QinQ technology.

Content   QinQ Principle QinQ Configuration .

QinQ Configuration Commands  Adds a Customer port zte(cfg)# set qinq customer port <portlist>{enable|disable}  Adds an Uplink port zte(cfg)# set qinq uplink port <portlist>{enable|disable}  Sets the tpid of the outer tag zte(cfg)# set qinq tpid <tpid>  Displays the QinQ configuration zte(cfg)# show qinq .

0. . The port connecting downstream SW2 is port 1. The NM vlan of SW1 is 999 and the management IP address is 192.1/24.QinQ Configuration Example Encapsulate an exterior label in SW1 (ZXR10 2952) for the packet from SW2.168. The port connecting upstream BRAS in SW1 is port 24. The VLAN number is 100.

0.168. the outer label is 100*/ zte(cfg)# set vlan 100 enable zte(cfg)# set vlan 100 add port 1 , 24 zte(cfg)# set port 1 , 24 pvid 100 zte(cfg)# set qinq customer port 1 enable zte(cfg)# set qinq uplink port 24 enable zte(cfg)# set vlan 999 enable zte(cfg)# config router zte(cfg-router)# set ipport 1 ipaddress 192.QinQ Configuration Example--SW1 Configuration /* set qinq.1/24 zte(cfg-router)# set ipport 1 vlan 999 zte(cfg-router)# set ipport 1 enable zte(cfg-router)# exit .

Configuration Summary  Note the following points when adding outer tag     Set uplink port as hybrid tag Set customer port as hybrid untag Customer port native VLAN = outer tag of maximum traffic If other services need to add outer tag:    Set uplink port as hybrid tag Set customer port as hybrid untag Configure session .

enable helper vlan .Configuration Summary  Note the following points when not adding outer tag     Set uplink port as hybrid tag Set customer port as hybrid tag Configure hybrid untag vlan on both customer port Configure session.

e23d. Must bind upward device mac address mac add permanent 0008.Note of QinQ/SVLAN      Data plan tries to ensure VLAN continuity. try to modify as certain service VLAN.ef48 interface . Don’t use default value 1 as port native VLAN. One customer port can use native VLAN to encapsulate one outer tag for saving session.