I believe the IP Phone will override any CoS/DSCP markings that it receives on the PC port. However, with the command that you mentioned in your original post, you're basically telling the switch to configure CoS value of 2 for all data packets received from the PC, but still leaving the IP phone-generated packets unchanged.
Any QoS expert out there that can vet this?