Refer to the exhibit.
Switch A is newly configured. All VLANs are present in the VLAN database. The IP phone and PC A on Gi0/1 must be configured for the appropriate VLANs to establish connectivity between the PCs. Which command set fulfills the requirement?
A.SwitchA(config-if)#switchport mode access SwitchA(config-if)#switchport access vian 50 SwitchA(config-if)#switchport voice vlan 51 B.SwitchA(config-if)#switchport mode access SwitchA(config-if)#switchport access vlan 50 SwitchA(config-if)#switchport voice vlan untagged C.SwitchA(config-if)#switchport mode trunk SwitchA(config-if)#switchport trunk allowed vlan add 50, 51 SwitchA(config-if)#switchport voice vlandot1p D.SwitchA(config-if)#switchport mode trunk正确答案A
SwitchA(config-if)#switchport trunk allowed vlan 50,51
SwitchA(config-if)#mls qos trust cos