Purpose Command
Set a console password to Cisco Router(config)#line con 0
Router(config-line)#password cisco
Set a remote access (telnet) password to Cisco Router(config)#line vty 0 4
Router(config-line)#password cisco Router(config-line)#login
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 peter Router(config)#enable secret class
Protect clear-text passwords Router(config)#service password-encryption
Set Hostname Router(config)#hostname Router2
Enable an interface Router2(config-if)#no shutdown
To disable an interface Router2(config-if)#shutdown
Set the clock rate for a router with a DCE cable to 64K Router2(config-if)clock rate 64000
Set a logical bandwidth assignment of 64K to the serial interface Router2(config-if)bandwidth 64
To add an IP address to a interface Router2(config-if)#ip address
Static route the remote network is, with a mask of, the next hop is Router2(config)#ip route
To enable RIP for network Router2(config)#router rip
Disable RIP Router2(config)#no router rip
To enable EIRGP with a AS of 200, for network Router2(config)#router eigrp 200
Disable EIGRP Router2(config)#no router eigrp 200
To enable OSPF for backbone area (Area 0), for network 123 represents the process ID (PID) Router2(config)#router ospf 123
Router2(config-router)#network area 0
Disable OSPF Router2(config)#no router opsf 123
Disable CDP for the whole router Router2(config)#no cdp run
Enable CDP for he whole router Router2(config)#cdp run
Disable CDP on an interface Router2(config-if)#no cdp enable
View version information show version
View current configuration (DRAM) show running-config
View startup configuration (NVRAM) show startup-config
Show IOS file and flash space show flash
View the interface status of interface fa0/0 show interface fa0/0
Overview all interfaces on the router show ip interfaces brief
View type of serial cable on s0/0 show controllers 0
Display a summary of connected cdp devices show cdp neighbor
Display current routing protocols show ip protocols
Display IP routing table show ip route
Display access lists show access-lists
Save the current configuration from DRAM to NVRAM copy running-config startup-config
Merge NVRAM configuration to DRAM copy startup-config running-config
Copy DRAM configuration to a TFTP server opy runing-config tftp
Merge TFTP configuration with current router configuration held in DRAM copy tftp runing-config
Backup the IOS onto a TFTP server copy flash tftp
Upgrade the router IOS from a TFTP server copy tftp flash
Enable debug for RIP/OSPF debug ip rip or debug ip ospf
Enable summary EIGRP debug information debug ip igrp events
Enable detailed EIGRP debug information debug ip eigrp transactions
Enable debug for CHAP or PAP debug ppp authentication
Switch all debugging off no debug all
undebug all

More information about markdown:

You can view a Markdown guide here for more information on how to write amazing articles using markdown.