Basic Cisco IOS Commands
CLI Configuration
User Mode and Privileged Mode
• Enter into privileged mode
Router>
Router>enable
Router#
• Get back to the user mode
Router#
Router#disable
Router>
Banner
• Router>enable
• Router#configure terminal
• Router(config)#banner motd Bawal Pasaway
• Router(config)#exit
Basic show commands
• show running-config
• displays the active configuration in memory
• show flash
• special kind of memory that contains the operating system image file(s) on
the router
• show history
• displays all the past commands still present in router’s memory
• show protocols
• displays the protocols running on your router
• show version
• displays critical information
• show clock
• displays the router’s clock
• show hosts
• displays list of hosts and all their interfaces IP Addresses
• show interfaces
• displays list of users who are connected to the router
Setting Enable Passwords
• Router>enable
• Router#configure terminal
• Router(config)#enable password ndmu
• Router(config)#enable secret ndmusec
Setting Console Passwords
• Router>enable
• Router#configure terminal
• Router(config)#line console 0
• Router(config-line)#login
• Router(config-line)#password console
• Router(config-line)#exec-timeout 5 0
• Router(config-line)#exit
Setting Telnet Passwords
• Router>enable
• Router#configure terminal
• Router(config)#line vty 0 4
• Router(config-line)#login
• Router(config-line)#password telnet
• Router(config-line)#exec-timeout 5 0
• Router(config-line)#exit
Router Interface Configuration
• Router>enable
• Router#configure terminal
• Router(config)#interface serial 0/0
• Router(config-if)#ip address 196.20.32.15
255.255.255.5
• Router(config-if)#exit
• Router(config)#interface fastethernet 0/0
• Router(config-if)#ip address 195.20.32.10
255.255.255.10
Laboratory Activity 9:
Basic Router Configurations
Objective:
• Configure the routers with basic router configuration
using IOS commands and test the connectivity of each
host.
• Network Structure:
Laboratory Instructions:
1. Configure the routers with the following setting:
• MOTD
• Host Name
• Router Console and Line Passwords
• Bandwidth
• Exec-Timeout
• Router Interface
2. Test the connectivity of the whole network.