I take course in CCNA provide by RUET. This course have four semister. I am now in first semister. In my lab i have learned configure the router in the CLI mood. So i want to share it with you…..
Now there is some code:
Router>enable
Router#configure terminal
//now we are going to put the ip address of the firsteathernet0/0
Router(config)#int
Router(config)#interface fa
Router(config)#interface fastEthernet0/0
Router(config-if)#ip add
Router(config-if)#ip address 172.16.1.254 255.255.255.0
//ip address and subnet mask that you want to configure
//now we are going to put the ip address of the serial port0/0:
Router(config)#interface serial2/0
Router(config-if)#ip add
Router(config-if)#ip address 172.16.3.1 255.255.255.0
##in the same way we can put the value of firsteathernet0/0, serial port 0/0 of other router conected to it…….
//now we are going to keep the router passward protecteed:
//To change hostname
Router(config)#hostname CCNA
CCNA(config)#line co
CCNA(config)#line console 0
CCNA(config-line)#pass
CCNA(config-line)#password cisco
CCNA(config-line)#log
CCNA(config-line)#login
// now the enable password:
Router(config)#hos
Router(config)#hostname CCNA
CCNA(config)#enable password cisco
CCNA(config-line)#login
// now the enable Telnet:
Router(config)#line vty 0 4
Router(config)#password class
Router(config)#exit
//Now we can configure Router from the host by enable telnet.