CCNA Week 1 Networks Basic Configuration

Learn to set up Cisco devices using console cables, terminal apps like PuTTY, and IOS command modes (User, Privileged, Global). A hands-on guide to basic Cisco configuration.

Alice Edwards
Contributor
4.6
47
3 months ago
Preview (10 of 33)
Sign in to access the full document!
CCNA
Week 1 (Networks. Basic configuration)
Cisco Foundations - Configuring a Cisco Device - Programs and Console Connections
Starts talking about console cables, the name of the entry that you plug into the console cable is
RJ-45. He recommends the site monoprice to buy cheap cables.
Connecting to the cisco switch
1. Get a console cable
2. Plug the serial end into the back of your pc
3. Plug the RJ-45 end into console port in switch
After those steps you need to open a terminal program, some examples of programs that can be
used in that case are:
- Putty (free)
- Tera term (free)
- SecureCRTfsiOO but the best)
- Minicom (free) (linux and apple)
Inside the program the recommend configurations are:
The serial line usually is C0M1, other than some situations with USB to serial adaptors, that can be
seen in the computer manager menu in ports.
Speed is 9600, Data bits 8, Stop bits 1 and Paty and Flow control are none.
2. Working with the Cisco IOS
The Internetwork Operating System (IOS) is a command-line method of configuring a Cisco device, it
is a software that is consistent through nearly all Cisco devices. Have the advantage of "learn it
once" and use it many times and is more powerful than any graphic interface.
Understanding IOS Command modes
Switch> - User mode
Switch# - Privileged mode
Switch(config)# - Global configuration mode
151* Mow nmutioMow romnam now
Knowing the modes of your Cisco device is more important than knowing what commands to type.
User mode have limited options
Privileged mode have access to see all the information but can't change anything
Globa configuration is where you can change? configure everything, but all the changes are globally
affected.
When you want to change the configuration of a specific part you have to move to a specific
interface or line
All most used Commands are described in the end.
You can use a shortcut of ary command as long as it has enough characters to be the only one
starting with those letters. Like enable can be used as "en1.
3. Base Configuration
Performing an initial configuration
Hostname "name" - To give a hostname to device
Negating commands - just put the word "no" before a command to remove the command used, ex:
’ no hostname", would remove the hostname that was inserted before.
Passwords
There are 3 different passwords to be enable in the device:
Console password: Set a password to access any mode. To enable a console password, you
need to move to Global conf and from there go to "line console 0 1 that is the line for the
console. After being inside the line you can just type "password WORD" to define a
password and after type "login" to enable it. otherwise will not be enabled. Because even if
the password is set, if no login is required so won't be needed to use the password.
Telnet/SSH password: The purpose of setting a telnet/SSH password, is about the security to
configure the switch from distance without letting other people access the same. To
configure a telnet password, it is needed to move to the line vty, the difference between the
line console to the line vty is that the line console there is only 1 port, the port 0. and the
line vty depends on the cisco device but have an average of 16 lines, that can be configured
individually together.
So. the command line is line "vty STARTING line ENDING line if you just want to configure
line 0. would be 'line vty 0 D", but if you want to configure line 0-15 would be "line vty 0 15".
And after being inside those lines you can set the password with "password W0RD" r in the
line vty you don't need to use the login command.
Enable password: This is to set a password if someone wants to move to privileged mode.
Since this is just one for the hole device, you don’t need to move to any lines, this can be
done in the global conf mode. There are 2 ways of setting a enable password, with the
command enable password and with enable secret, the difference between then is that
when show running conf, the enable password will show the password in plain text and the
secret will be encrypted. So always prefer to use enable secret.
VTY = Virtual Terminal
Banner
Banner motd +WORD+
Saving configuration
There are two ways of saving your changes and configurations, the first one is with "run" that saves
in the RAM, if the switch needs to be power down, all the savings in that 'will be lost. The second way
is through "start ' that saves in the nvram (non-volatile ram} that everything is saved even if you
power down the switch.
The command to save is copy running config startup config, another command that is shorter and
can be used in 99% of cisco devices is write memory, that can be just "wr".
4.Con figuring SSH. User Accounts, and Password Encryption
Configuring SSH on a Cisco device
1. Configure your hostname
2- Configure a domain name, using the command "ip domain name WORD"
Generate encryption keys, using the command "crypto key generate rsa" and then select the
number of bits that will be used to generate the key
4- Enable SSH v2, using the command "ip ssh version 2"
Create a username with the command "username WORD secret WORD"
6- Choose to allow telnet and 55H. using the command '’transport input telnet ssh"
2- Enable local login, go to "line vty 0 15" again and use the command "login local’1 so the
system can use the username detail to log in the 55H, otherwise will not work because the
system is programmed to only use the password without a username.

Loading page 6...

Loading page 7...

Loading page 8...

Loading page 9...

Loading page 10...

7 more pages available. Scroll down to load them.

Preview Mode

Sign in to access the full document!

100%

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all