Say you have this config (found on internet browsing)...
switchport access vlan 50
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 50,51
switchport mode trunk
How can this work, having an access port and trunk on same port? A trunk port will allow all VLAN, but this is pruned to only let VLANs 50 and 51 through, but then why the sw ac vl 50 cmd?
Again, this is just someones config I found on internet, so it might be incorrect.