Is there a difference between the following two configurations on a cisco device?
int g0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
and
int g0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,20
Environment:
Cisco Port ---> IP Phone ---> Client Computer
Which configuration do I have to use and why? If there is no difference, which method is the preferred one?
Thanks in advance koron54