SELECT * FROM itemsupport, item WHERE itemSupportID = 744 AND item.itemId = itemsupport.itemId AND itemsupport.itemSupport_displayVendor = 'Y' = Wellcome to SMC site = >
CUSTOMER SUPPORT | CONTACT US
 
Support >Sample for Selective QinQ

Scenario:


Configuration procedures:
(Start with factory default)

 
At SW2 and SW3:
1. Enable QinQ
Console(config)#dot1q-tunnel system-tunnel-control
2. Create vlans
Console(config)#vlan database
Console(config-vlan)#vlan 100,200,300 media ethernet state active
3. Configure Q-in-Q access port
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#switchport allowed vlan add 100,200,300 untagged
Console(config-if)#switchport allowed vlan add 10,20,30 tagged
Console(config-if)#switchport dot1q-tunnel service 100 match cvid 10
Console(config-if)#switchport dot1q-tunnel service 200 match cvid 20
Console(config-if)#switchport dot1q-tunnel service 300 match cvid 30
4. Configure Q-in-Q uplink port
Console(config)#interface ethernet 1/5
Console(config-if)#switchport dot1q-tunnel mode uplink
Console(config-if)#switchport allowed vlan add 100,200,300 tagged

At SW1 and SW4:
1. Create vlans
Console(config)#vlan database
Console(config-vlan)#vlan 10,20,30 media ethernet state active
2. Configure access ports
Console(config)#interface ethernet 1/1
Console(config-if)#switchport mode access
Console(config-if)#switchport native vlan 10
Console(config-if)#switchport allowed vlan remove 1
Console(config)#interface ethernet 1/2
Console(config-if)#switchport mode access
Console(config-if)#switchport native vlan 20
Console(config-if)#switchport allowed vlan remove 1
Console(config)#interface ethernet 1/3
Console(config-if)#switchport mode access
Console(config-if)#switchport native vlan 30
Console(config-if)#switchport allowed vlan remove 1
3. Configure trunk port
Console(config)#interface ethernet 1/11
Console(config-if)#switchport mode trunk
Console(config-if)#switchport allowed vlan add 10,20,30 tagged
Console(config-if)#switchport allowed vlan remove 1
 

Result:
Check the status on SW2 and SW3:

Check the status on SW1 ~ SW4:


At QinQ tunnel:
Capture packets by WireShark

 

About Us
Site Term
Terms and Conditions of Sale
About SMC Network Australia
Contact Us
Support
Product Warranty
Customer Service
Download
FAQ
Product Registration
Reseller
Reseller Partner Program
Trade Application
Looking for Reseller
Where To Buy
NSW QLD VIC
TAS ACT
NT WA SA
Online Shop