Are these two outputs taken from the same physical switch? If they are then the diffeences you're seeing here are just an indication that spanning-tree has elected a different root switch on both occasions
Sorry about the delay in replying.
So as I understand it you have two switches sw1 and sw2, and there is a fibre connection between them via Gi0/1 and a copper connection between them via Gi0/2.
If thta;s the case then the output you've provided indicates that spanning tree is working correctly. Sw1 is the root switch because all its ports are forwarding. On Sw2, Gi0/2 is the root port (the one spanning tree has selected as the best path to the root switch) so that one is forwarding. And Gi0/1 on sw2 is blocking which is spanning tree's way of preventing a network loop.
Have a look at
to see if this makes it any clearer for you