summer classes router - initial configuration by roshan chaudhary lecturer islington college
TRANSCRIPT
Summer Classes
Router - Initial Configuration
By Roshan Chaudhary
Lecturer
Islington College
Router Configuration FilesRunning Configuration
• Contains the real-time configuration of the router and changes made
to it. It is present in RAM.
Startup Configuration
• Contains the startup configuration of the router that is required when
the router is powered on. Acts as backup of the configuration. Present
in NVRAM.
Router Configuration Files
• working of configuration files.
CISCO IOS - CLI (Command Line Interface) Modes• In order from top to bottom, the major CLI modes are:
• User Executive mode
• Privileged Executive mode
• Global Configuration mode
• Specific Configuration mode
Router> enable
Router# configure terminal
Router(config)# depends on specific command
CISCO IOS - CLI (Command Line Interface) Modes
Some Useful Cisco Short-cuts
• Tab - Completes the remainder of the command or keyword.
• Ctrl-R - Redisplays a line
• Ctrl-Z - Exits configuration mode and returns to the Exec.
• Down Arrow - Allows user to scroll forward through former
commands.
• Up Arrow - Allows user to scroll backward through former commands.
• Ctrl-Shift-6 - Allows the user to interrupt an IOS process such as Ping or
Traceroute.
• Ctrl-c - Aborts the current command and exits the configuration mode.
Basic Router Configuration
• When configuring a router, certain basic tasks are performed including:
Naming the Router
Setting passwords
Configuring interfaces
Configuring a banner
Saving changes on a Router
Verifying basic configuration and router
operations using SHOW commands
Basic Router Configuration (contd.)Configure IOS Hostname
Router> enable
Router# configure terminal
Router(config)# hostname CoreRouter
Types of Passwords in Cisco:
• Console password: Limits device access using the console connection.
• Vty password: Limits device access using Telnet.
• Enable password: Limits access to the Privileged Exec Mode.
• Enable Secret password: Encrypted, limits access to the Privileged Exec
Mode.
Basic Router Configuration (contd.)Configure Console passwordRouter(config)# line console 0Router(config-line)# password ciscoRouter(config-line)# exec-timeout <time in minutes>Router(config-line)# logging synchronousRouter(config-line)# login
Configure VTY/Telnet passwordRouter(config)# line vty 0 4Router(config-line)# password ciscoRouter(config-line)# exec-timeout <time in minutes>Router(config-line)# logging synchronousRouter(config-line)# login
Basic Router Configuration (contd.)Configure Enable password
Router(config)# enable password cisco
Configure Secret password
Router(config)# enable secret cisco
Enabling Encryption
Router(config)# service password-encryption
Basic Router Configuration (contd.)Configure motd (message of the day) Banner
Router(config)# banner motd $ Unauthorized Access is Strictly
Prohibited $
Basic Router Configuration (contd.)Saving Running-config to Startup-config
Router# wr or
Router# copy running-config startup-config
Assigning IP Address to the Interfaces
Router(config)# interface fastethernet 0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Syntax: Router(config)# interface <interface-type> <slotnumber/port-
number>
Basic Router Configuration (contd.)Specifying Description for the Interface
Router(config-if)# description This cable is conncted with Block-B
To prevent the router from attempting to resolve typing errors, use
Router# configure terminal
Router(config)# no ip domain-lookup
Router(config)# end
Basic Router Configuration (contd.)Enabling Local Usernames
Router(config)# aaa new-model
Router(config)# username admin password ciscoadmin
Creating Local Usernames without Password
Router(config)# aaa new-model
Router(config)# username Roshan nopassword
Verifying Basic Router Configurationshow version
Verifying Basic Router Configuration (contd.)show flash
Verifying Basic Router Configuration (contd.)Show interfaces
Verifying Basic Router Configuration (contd.)Show ip interface brief
Verifying Basic Router Configuration (contd.)show ip route
show running-config show startup-config