You need to configure the FastEthernet 0/1 interface on a switch to automatically detect the appropriate link speed and duplex setting by negotiating with the device connected to the other end of the link.
Drag the command on the left to the approbate configuration step on the right to accomplish this. Not all of the commands may be required
Enter global configuration mode
conf t
Enter interface configuration mode
int fa0/1
Set speed of the interface
speed auto
Set the duplex setting for the interface
duplex auto