Set a console password to cisco
Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco
Set a telnet password
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
Stop console timing out
Router(config)#line con 0
Router(config-line)#exec-timeout 0 0
Set the enable password to cisco
Router(config)#enable password cisco
Set the enable secret password to ciscorouter.
This password overrides the enable password and is encypted within the config file
Router(config)#enable secret ciscorouter
Enable an interface
Router(config-if)#no shutdown
To disable an interface
Router(config-if)#shutdown