Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#INterface fastEthernet 1/0
R1(config-if)#no shutdown
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#exit