encapsulation dot1q <vlan id>- confusion
foreverlearning
Member Posts: 42 ■■■□□□□□□□
in CCNA & CCENT
I am confused about what this command does.
Does it
1) Allow that vlan id to pass through
OR
2) it encapsulates the original vlan in another vlan?
If it is scenario 1 as explained by my colleague,
how is this command different from switchport mode trunk allowed vlan <vlan id>?
Why is there encapsulation if it is just a vlan being allowed to pass through?
If it is scenario 2,
then is encapsulation dot1q same as qinq terminology?
Does it
1) Allow that vlan id to pass through
OR
2) it encapsulates the original vlan in another vlan?
If it is scenario 1 as explained by my colleague,
how is this command different from switchport mode trunk allowed vlan <vlan id>?
Why is there encapsulation if it is just a vlan being allowed to pass through?
If it is scenario 2,
then is encapsulation dot1q same as qinq terminology?
Comments
-
Spiegel Member Posts: 322 ■■■■■□□□□□They are both essentially the same same thing. Basically that encapsulation command allows you to use 802.1Q to tag an Ethernet frame with a vlan tag. Cisco used to encapsulate with ISL but that is no longer supported on newer Cisco devices, therefore switchport mode trunk does automatic 802.1Q encasulation.Degree: WGU B.S. Network Operations and Security [COMPLETE]
Current Certs: A+ | N+ | S+ | Cloud Essentials+ | Project+ | MTA: OSF | CIW: SDA | ITIL: F | CCNA | JNCIA-Junos | FCA | FCF | LPI Linux Essentials
Currently Working On: JNCIA-MistAI
2024 Goals: JNCIA-MistAI [ ], Linux+ [ ]
Future Certs: CCNP Enterprise