Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.
-
Upload
allyson-mcdonald -
Category
Documents
-
view
228 -
download
1
Transcript of Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.
![Page 1: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/1.jpg)
Summer Classes
Router - Initial Configuration
By Roshan Chaudhary
Lecturer
Islington College
![Page 2: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/2.jpg)
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.
![Page 3: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/3.jpg)
Router Configuration Files
• working of configuration files.
![Page 4: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/4.jpg)
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
![Page 5: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/5.jpg)
CISCO IOS - CLI (Command Line Interface) Modes
![Page 6: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/6.jpg)
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.
![Page 7: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/7.jpg)
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
![Page 8: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/8.jpg)
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.
![Page 9: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/9.jpg)
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
![Page 10: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/10.jpg)
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
![Page 11: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/11.jpg)
Basic Router Configuration (contd.)Configure motd (message of the day) Banner
Router(config)# banner motd $ Unauthorized Access is Strictly
Prohibited $
![Page 12: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/12.jpg)
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>
![Page 13: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/13.jpg)
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
![Page 14: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/14.jpg)
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
![Page 15: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/15.jpg)
Verifying Basic Router Configurationshow version
![Page 16: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/16.jpg)
Verifying Basic Router Configuration (contd.)show flash
![Page 17: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/17.jpg)
Verifying Basic Router Configuration (contd.)Show interfaces
![Page 18: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/18.jpg)
Verifying Basic Router Configuration (contd.)Show ip interface brief
![Page 19: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/19.jpg)
Verifying Basic Router Configuration (contd.)show ip route
show running-config show startup-config
![Page 20: Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.](https://reader031.fdocuments.net/reader031/viewer/2022032311/56649db25503460f94aa1016/html5/thumbnails/20.jpg)