Professional Documents
Culture Documents
IOS
By. Eng. Ayman Boghdady
1
Basic Configuration
Cisco IOS is the operating system that you will find on the switches
and routers and some other devices like wireless access points
When you work with Cisco routers and switches you will do most of the
configuration using the CLI (Command Line Interface)
The CLI can be accesses by using the blue Cisco console cable (it's
called a rollover cable) or remotely using telnet or SSH
2
Basic Configuration
• What we need
1
3 An application to connect
to your serial port
4 2
3
Basic Configuration
select
serial
Click on open
When you start a switch for the first time its initial configuration is
enough to make it work and “switch” traffic for the computers connected
to it
4
Basic Configuration
5
Basic Configuration
Finally you'll see an overview of the hardware that this switch offers
RAM Size
Flash Size
7
Basic Configuration
Once the switch is done you finally get to see this message
If the switch does not have a configuration, you'll see the following:
user mode
8
Basic Configuration
Privileged mode
In privileged mode ,we have full access to our device
9
Basic Configuration
CLI shortcuts
1. TAB : auto-complete a command or keyword
2. CTRL-A : brings your cursor to the beginning of the line
3. CTRL-E brings your cursors to the end of the line
4. CTRL-SHIFT-6 interrupts processes like a PING
5. CTRL-C exits configuration mode
6. CTRL-Z ends configuration mode
11
Basic Configuration
12
Basic Configuration
13
Basic Configuration
14
Basic Configuration
15
Basic Configuration
protocol tells us
if the interface is
operational or not
16
Basic Configuration
17
Basic Configuration
18
Basic Configuration
interface configuration
20
Basic Configuration
21
Basic Configuration
22
Basic Configuration
23
Basic Configuration
IP address of
your switch select telnet
24
Basic Configuration
SSH can also be used to connect remotely to your switch (or router)
but all traffic will be encrypted
25
Basic Configuration
Configuring SSH
Hostname
26
Basic Configuration
Verifying SSH
27
Basic Configuration
29
Basic Configuration
30
Basic Configuration
when you are typing a command, the CLI will output these notifications
on top of whatever you are typing
I have to do this for the console and the VTY lines (telnet or SSH)
separately
31
Basic Configuration
32
Basic Configuration
Typing no hostname Godzilla would remove this line from the running-config
The running-config is active in RAM which means that if you power off
your device, your configuration is gone
33
Basic Configuration
❑ Whenever you power on your device, it will look for the startup-
config in the NVRAM and copy it to the running-config in our RAM
34
Basic Configuration
You will have to reload your switch or router before this will take effect
35