When you try to configure trunk port you might see following error
An interface whose trunk encapsulation is Auto can not be configured to trunk mode
To fix this you need set encapsulation to 802.1q using the following command
conf t
int gi4/10
switchport trunk encapsulation dot1q
This should fix your issue
thankz