Click on the router – then click on CLI.
This configuration will set up a router between two networks.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname MyRouter
MyRouter(config)#enable secret mypassword
MyRouter(config)#interface FastEthernet 0/0
MyRouter(config-if)#ip address 192.168.1.1 255.255.255.0
MyRouter(config-if)#no shutdown
MyRouter(config-if)#exit
MyRouter(config)#interface Serial 0/0/0
MyRouter(config-if)#ip address 10.0.0.1 255.255.255.252
MyRouter(config-if)#clock rate 64000
MyRouter(config-if)#no shutdown
MyRouter(config-if)#exit
MyRouter(config)#exit
MyRouter#copy running-config startup-config
This configuration sets the hostname of the router to “MyRouter”, sets an enable secret password, configures two interfaces (one FastEthernet and one Serial), assigns IP addresses to them, and enables them. Finally, the configuration is saved to non-volatile memory so that it will be retained after a reboot.
Note that this configuration assumes that the FastEthernet interface is numbered “0/0” and the Serial interface is numbered “0/0/0”. If your interfaces are numbered differently, you will need to adjust the configuration accordingly.