Native vlan AND trunk AND link
Analysis of nativevlan and TRUNK Link
Native vlan:
Pc1-port1-sw1-port2-port1-sw2-port2-pc2
Local VLAN:VLAN 1
Data from pc1 to pc2
Data from pc1 to sw1:port1 (add vlan1 identity)
Data from sw1:port1 to sw1:port2 (remove vlan1 logo)
Data from sw1:port2 to sw2:port1 (add vlan1 identity)
Data from sw2:port1 to sw2:port2 (remove vlan1 logo)
Finally, the data is entered into PC1 without identification.
TRUNK:
Pc1- (access) port1-sw1-port2 (trunk)-(trunk) port1-sw2-port2 (access)-pc2
Data from sw1:port1 to sw1:port2 (add port ACCESS identity)
Data from sw1:port1 to sw1:port2 (allow VLAN to which ACCESS belongs, VLAN identity and data encapsulation; reject, discard)
Data from sw1:port2 to sw2:port1 (data unencapsulated)
Data from sw2:port1 to sw2:port2 (unencapsulated data and port2 have the same vlan identity, remove logo)
Finally, the data is entered into PC1 without identification.