I'm new to Cisco IOS and I'm trying to configure a 4507. I've been configuring trunks using the syntax below without the "switchport access vlan" command. I use the "switchport access vlan" command to make interfaces members of a vlan but never for trunks. Today I accidentally entered it on a trunk interface and the IOS did not complain. I was wondering if anyone could tell me what this command might do when used on a trunk interface.
Thanks Ned
interface GigabitEthernet2/1 switchport access vlan 800 switchport trunk encapsulation dot1q switchport trunk native vlan 50 switchport trunk allowed vlan 50,60,800 switchport mode trunk