Router Configuration in CLI mode(CISCO)
September 8, 2008
Router >enable
Router #configure terminal
//Enter configuration commands, one per line. End with CNTL/Z.Router (config)#
//configure the ip address for firstEnthernet 0/0 port:Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.1.254 255.255.255.0 //ip address and subnet mask
Router(config-if)#no shutdown
Router(config-if)#exit
//configure the ip address of the serial port 0/0/0 port:Router(config)#interface serial 0/0/0
Router(config-if)#ip address 172.16.3.1 255.255.255.0 //ip address and subnet mask
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
//now keep the router passward protecteed: //To change hostnameRouter(config)#hostname R1-ISP
R1-ISP (config)#enable password cisco
R1-ISP (config)#line console 0
R1-ISP (config-line)#password cisco
R1-ISP (config-line)#login
R1-ISP (config-line)#exit
// now enable the Telnet service:R1-ISP (config)#line vty 0 4
R1-ISP (config-line)#password class
R1-ISP (config-line)#login
R1-ISP (config-line)#exit
Entry Filed under: Networking(CISCO). .









Trackback this post | Subscribe to the comments via RSS Feed