Hi Santosh,
Spanning tree is a global configuration and cannot be enabled/disabled per port. To enable RPVST globally, configure the following:
Switch(config)#spanning-tree mode rapid-pvst
Once you enable rpvst, there will be one spanning tree instance for each vlan acting on all the ports in up/up state.
Hope that helps,
Shashank
P.S. Please rate helpful post.