As i am studying the ccna-voice , ive found in the part of configuring the 802.1q trunks this option "switchport mode dot1q-tunnel".
Can anyone tell me what is this option do cuz i didn't see it before in my ccna study.
As far as I can see it sets an interface as an 802.1Q tunnel port.
802.1Q tunneling can be used if for example a service provider wanted to securely preserve a customers VLANs over their WAN backbone.
I think its just a case of adding an additional 802.1Q tag to the customers traffic.
You can read more about 802.1Q here:
This is something that you shouldn't need to worry about for the CCNA voice. Actually, you won't really need to worry about this unless your doing a CCIE R&S or SP certification.
I agree. Nothing to worry about for CCNA/CCNP stuff. It's for a technology called Q-in-Q that is mostly a Service Provider technology! While we can certainly use it other places, it's not common enough that I would think it would show up on lower-level exams!
What this command does is allowing the Service provider to tunnel customer's Vlans transparently. In Other word, the Switch mode dot1q - tunnel allows the vlan taggs recieved by aport to be tunneled from that port. The Inner Vlan tag is always going to be the Customer Vlan tagg and the outer Vlan tagg is always the Service provider Vlan tag.
The Q in Q tunneling is mostly deployed in a service provider invironment which enables a service provide to transparently carries customer's Vlans without a conflict besides the ability of allowing a Service provider to implement whether (Dot1q Standard OR ISL cisco properitary in the CORE Network independantly from the Edge Network).
Hope It helps,