I have a doubt regarding Cisco CBS 350 model switch. For a WIFI AP to configure in a port we give 2 commands switchport mode trunk and switchport trunk allowed vlan ____ & switchport trunk native vlan ___.
The above 3 commands are given for wifi ap to get it configured.
Why do you need to have/ what is the difference between switchport mode trunk and switchport trunk allowed vlan ____ ? If I pass switchport mode trunk it means it passes all vlans to that interface port. then why we need switchport trunk allowed vlan ____ ?