I have a cisco 3548 switch.is it mandatory to configure the port as trunk in order to connect an IP phone?wht if i configure the command switch port voice vlan 2?
the switchport mode trunk is needed in this type of IOS/platform.
it is a question of IOS implementation you can see this command as a workaround.
newer IOS versions don't need it.
Hope to help