Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 116

Unit 1

Network Protocols and Communications

Introduction to Networks

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Objectives
Students will be able to:
 Explain how rules are used to facilitate communication.
 Explain the role of protocols and standards
organizations in facilitating interoperability in network
communications.
 Explain how devices on a LAN access resources in a
small to medium-sized business network.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
The Rules
What is Communication?

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
The Rules
Establishing the Rules

Establishing the Rules

 An identified sender and receiver


 Agreed upon method of communicating (face-to-face,
telephone, letter, photograph)
 Common language and grammar
 Speed and timing of delivery
 Confirmation or acknowledgement requirements

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
The Rules
Message Encoding

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
The Rules
Message Formatting and Encapsulation

Example: Personal letter contains the following elements:


 An identifier of the recipient
 A salutation or greeting
 The message content
 A closing phrase
 An identifier of the sender

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
The Rules
Message Size

The size restrictions of frames require the source host to


break a long message into individual pieces that meet
both the minimum and maximum size requirements.
This is known as segmenting.
Each segment is encapsulated in a separate frame with
the address information, and is sent over the network.
At the receiving host, the messages are de-encapsulated
and put back together to be processed and interpreted.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
The Rules
Message Timing

 Access Method
 Flow Control
 Response Timeout

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
The Rules
Message Delivery Options

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
Protocols
Rules that Govern Communications

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
Protocols
Network Protocols

 How the message is formatted or structured


 The process by which networking devices share
information about pathways with other networks
 How and when error and system messages are passed
between devices
 The setup and termination of data transfer sessions

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
Protocols
Interaction of Protocols

 Application Protocol – Hypertext Transfer Protocol


(HTTP)
 Transport Protocol – Transmission Control Protocol
(TCP)
 Internet Protocol – Internet Protocol (IP)
 Network Access Protocols – Data Link & Physical
layers

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Protocol Suites
Protocol Suites and Industry Standards

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
Protocol Suites
Creation of Internet, Development of
TCP/IP

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
Protocol Suites
TCP/IP Protocol Suite and
Communication

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
Network Protocols and Standards
Standards Organizations

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
Standards Organizations
Open Standards

 The Internet Society (ISOC)


 The Internet Architecture Board (IAB)
 The Internet Engineering Task Force (IETF)
 Institute of Electrical and Electronics Engineers (IEEE)
 The International Organization for Standards (ISO)

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
Standards Organizations
ISOC, IAB, and IETF

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
Standards Organizations
IEEE

 38 societies
 130 journals
 1,300 conferences each year
 1,300 standards and projects
 400,000 members
 160 countries
 IEEE 802.3
 IEEE 802.11

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
Standards Organizations
ISO

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
Standards Organizations
Other Standards Organization

 The Electronic Industries Alliance (EIA)


 The Telecommunications Industry Association (TIA)
 The International Telecommunications Union –
Telecommunications Standardization Sector (ITU-T)
 The Internet Corporation for Assigned Names and
Numbers (ICANN)
 The Internet Assigned Numbers Authority (IANA)

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
Reference Models
The Benefits of Using a Layered Model

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
Reference Models
The OSI Reference Model

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
Reference Models
The TCP/IP Reference Model

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
Reference Models
Comparing the OSI and TCP/IP Models

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
Data Encapsulation
Communicating the Messages

 Segmenting message benefits


Different conversations can be interleaved
Increased reliability of network communications

 Segmenting message disadvantage


Increased level of complexity

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
Data Encapsulation
Protocol Data Units (PDUs)

 Data
 Segment
 Packet
 Frame
 Bits

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
Data Encapsulation
Encapsulation

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Data Encapsulation
De-encapsulation

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Moving Data in the Network
Accessing Local Resources

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
Accessing Local Resources
Network Addresses & Data Link
addresses

 Network Address
Source IP address
Destination IP address

 Data Link Address


Source data link address
Destination data link address

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
Accessing Local Resources
Communicating with Device / Same
Network

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
Accessing Local Resources
MAC and IP Addresses
R1
192.168.1.1
11-11-11-11-11-11
ARP
Request
PC1 S1 R1
192.168.1.110
AA-AA-AA-AA-AA-AA

PC2
192.168.1.111
BB-BB-BB-BB-BB-BB

FTP Server
192.168.1.9
CC-CC-CC-CC-CC-CC

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
Accessing Remote Resources
Default Gateway

PC 1 R2
R1 172.16.1.99
192.168.1.110 192.168.1.1
AA-AA-AA-AA-AA-AA 22-22-22-22-22-22
11-11-11-11-11-11

Web Server
172.16.1.99
AB-CD-EF-12-34-56

PC 2 FTP Server
192.168.1.111 192.168.1.9
BB-BB-BB-BB-BB-BB CC-CC-CC-CC-CC-CC

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
Accessing Remote Resources
Communicating Device / Remote
Network

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
Accessing Remote Resources
Using Wireshark to View Network Traffic

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 36
Network Protocols and Communications
Summary

In this chapter, you learned:


 Data networks are systems of end devices,
intermediary devices, and the media connecting the
devices. For communication to occur, these devices
must know how to communicate.
 These devices must comply with communication rules
and protocols. TCP/IP is an example of a protocol suite.
 Most protocols are created by a standards organization
such as the IETF or IEEE.
 The most widely-used networking models are the OSI
and TCP/IP models.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
Network Protocols and Communications
Summary

In this chapter, you learned:


 Data that passes down the stack of the OSI model is
segmented into pieces and encapsulated with
addresses and other labels. The process is reversed as
the pieces are de-encapsulated and passed up the
destination protocol stack.
 The OSI model describes the processes of encoding,
formatting, segmenting, and encapsulating data for
transmission over the network.
 The TCP/IP protocol suite is an open standard protocol
that has been endorsed by the networking industry and
ratified, or approved, by a standards organization.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
Network Protocols and Communications
Summary

In this chapter, you learned:


 The Internet Protocol Suite is a suite of protocols
required for transmitting and receiving information using
the Internet.
 Protocol Data Units (PDUs) are named according to the
protocols of the TCP/IP suite: data, segment, packet,
frame, and bits.
 Applying models allows individuals, companies, and
trade associations to analyze current networks and plan
the networks of the future.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 39
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 40
Subnetting IP Networks

 Introduction to Networking

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
Chapter 9
9.1 Subnetting an IPv4 Network
9.2 Addressing Schemes
9.3 Design Considerations for IPv6
9.4 Summary

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
Chapter 9: Objectives
 Explain why routing is necessary for hosts on different
networks to communicate.
 Describe IP as a communication protocol used to identify a
single device on a network.
 Given a network and a subnet mask, calculate the number of
host addresses available.
 Calculate the necessary subnet mask in order to
accommodate the requirements of a network.
 Describe the benefits of variable length subnet masking
(VLSM)
 Explain how IPv6 address assignments are implemented in a
business network.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
Network Segmentation
Reasons for Subnetting
Large networks need to be segmented into smaller sub-networks,
creating smaller groups of devices and services in order to:
 Control traffic by containing broadcast traffic within subnetwork 
 Reduce overall network traffic and improve network performance
Subnetting - process of segmenting a network into multiple smaller
network spaces called subnetworks or Subnets.

Communication Between Subnets


 A router is necessary for devices on different networks and subnets
to communicate. 
 Each router interface must have an IPv4 host address that belongs
to the network or subnet that the router interface is connected to.
 Devices on a network and subnet use the router interface attached to
their LAN as their default gateway.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
Subnetting an IPv4 Network
IP Subnetting is FUNdamental

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
 Subnetting an IPv4 Network
Basic Subnetting
 Borrowing Bits to Create Subnets
 Borrowing 1 bit 21 = 2 subnets

Borrowing 1 Bit from the host portion creates 2 subnets with the same subnet mask

Subnet 0 Subnet 1
Network 192.168.1.0-127/25 Network 192.168.1.128-255/25
Mask: 255.255.255.128 Mask: 255.255.255.128

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
Subnetting an IPv4 Network
Subnets in Use

Subnet 0
Network 192.168.1.0-127/25

Subnet 1
Network 192.168.1.128-255/25

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
Subnetting an IPv4 Network
Subnetting Formulas
Calculate Number of Subnets

Calculate Number of Hosts

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48
Subnetting an IPv4 Network
Creating
Borrowing42 Subnets
bits to create 4 subnets. 22 = 4 subnets

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 49
Subnetting an IPv4 Network
Creating
Borrowing83 Subnets
bits to Create 8 Subnets. 23 = 8 subnets

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 50
Subnetting an IPv4 Network
Creating 8 Subnets(continued)

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 51
Determining the Subnet Mask
Subnetting Based on Host Requirements
There are two considerations when planning subnets:
 Number of Subnets required
 Number of Host addresses required
Formula to determine number of useable hosts
2^n-2
2^n (where n is the number the number of host bits remaining) is
used to calculate the number of hosts
-2 Subnetwork ID and broadcast address cannot be used on each
subnet

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 52
Determining the Subnet Mask
Subnetting Network-Based
Calculate number of subnets Requirements
Formula 2^n (where n is the number of bits borrowed)
 Subnet needed
for each
department in
graphic

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 53
Determining the Subnet Mask
Subnetting TotoMeet
It is important Network
balance Requirements
the number of subnets needed
and the number of hosts required for the largest subnet.
 Design the addressing scheme to accommodate the
maximum number of hosts for each subnet.
Allow for growth in
each subnet.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 54
Determining the Subnet Mask
Subnetting To Meet Network Requirements (cont)

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 55
Benefits of Variable Length Subnet Masking
Traditional
Traditional Subnetting Wastes
subnetting - same Addresses
number of addresses is
allocated for each subnet.
Subnets that require fewer addresses have unused
(wasted) addresses. For example, WAN links only need 2
addresses.
Variable Length Subnet Mask (VLSM) or subnetting a
subnet provides more efficient use of addresses.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 56
Benefits of Variable Length Subnet Masking
Variable Length
VLSM allows Subnet
a network Masks
space to be(VLSM)
divided in unequal
parts.
Subnet mask will vary depending on how many bits have
been borrowed for a particular subnet.
Network is first subnetted, and then the subnets are
subnetted again.
Process repeated as necessary to create subnets of
various sizes.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 57
Benefits of Variable Length Subnet Masking
Basic VLSM

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 58
Benefits of Variable Length Subnet Masking
VLSM
UsinginVLSM
Practice
subnets, the LAN and WAN segments in
example below can be addressed with minimum waste.
 Each LANs will be assigned a subnet with /27 mask.
Each WAN link will be assigned a subnet with /30 mask.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 59
Benefits of Variable Length Subnet Masking
VLSM Chart

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 60
Structured Design
Planning
Allocationto Address
of network the Network
addresses should be planned and
documented for the purposes of:
Preventing duplication of addresses
Providing and controlling access
Monitoring security and performance
Addresses for Clients - usually dynamically assigned using
Dynamic Host Configuration Protocol (DHCP)

Sample Network
Addressing Plan

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 61
Subnetting an IPv6 Network
Subnetting Using
An IPv6 Network theisSubnet
Space IDto support
subnetted
hierarchical, logical design of the network

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 62
Subnetting an IPv6 Network
IPV6 Subnet Allocation

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 63
Subnetting an IPv6 Network
Subnetting
 IPv6 bits caninto the Interface
be borrowed IDinterface ID to create
from the
additional IPv6 subnets

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 64
Chapter 9: Summary
 Process of segmenting a network, by dividing it into to
multiple smaller network spaces, is called subnetting.
 Subnetting a subnet, or using Variable Length Subnet
Mask (VLSM) was designed to avoid wasting addresses.
 IPv6 address space is a huge address space so it is
subnetted to support the hierarchical, logical design of
the network not to conserve addresses.
 Size, location, use, and access requirements are all
considerations in the address planning process.
 IP networks need to be tested to verify connectivity and
operational performance.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 65
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 66
Chapter 2:
Configuring a Network Operating System

 Introduction to Networks

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 67
Chapter 2 - Objectives
 Explain the purpose of Cisco IOS.
 Explain how to access and navigate Cisco IOS to configure network
devices.
 Describe the command structure of Cisco IOS software.
 Configure hostnames on a Cisco IOS device using the CLI.
 Use Cisco IOS commands to limit access to device configurations.
 Use Cisco IOS commands to save the running configuration.
 Explain how devices communicate across network media.
 Configure a host device with an IP address.
 Verify connectivity between two end devices.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 68
Chapter 2
2.1 IOS Bootcamp
2.2 Getting Basic
2.3 Address Schemes
2.4 Summary

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 69
2.1 IOS Bootcamp

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 70
Cisco IOS
Operating Systems
All networking equipment dependent on operating systems
 End users (PCs, laptops, smart phones, tablets)
 Switches
 Routers
 Wireless access points
 Firewalls

Cisco Internetwork Operating System (IOS)


 Collection of network operating systems used on Cisco devices

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 71
Cisco IOS
Operating Systems

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 72
Cisco IOS
Purpose of OS
 PC operating systems (Windows 8 & OS X) perform technical
functions that enable
• Use of a mouse
• View output
• Enter text

 Switch or router IOS provides options to


• Configure interfaces
• Enable routing and switching functions

 All networking devices come with a default IOS

 Possible to upgrade the IOS version or feature set

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 73
Cisco IOS
Location of the Cisco IOS
IOS stored in Flash
 Non-volatile storage – not lost when power is lost
 Can be changed or overwritten as needed
 Can be used to store multiple versions of IOS
 IOS copied from flash to volatile RAM
 Quantity of flash and RAM memory determines IOS that can be used

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 74
Cisco IOS
IOS Functions
Major functions performed or enabled by Cisco routers and
switches include:

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 75
Accessing a Cisco IOS Device
Console Access Method
Most common methods to access the Command Line Interface
 Console
 Telnet or SSH
 AUX port

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 76
Accessing a Cisco IOS Device
Console Access Method
Console port
 Device is accessible even if no networking services have been
configured (out-of-band)
 Need a special console cable
 Allows configuration commands to be entered
 Should be configured with passwords to prevent unauthorized
access
 Device should be located in a secure room so console port can not
be easily accessed

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 77
Accessing a Cisco IOS Device
Telnet, SSH, and AUX Access Methods
Telnet
 Method for remotely accessing the CLI over a network
 Require active networking services and one active interface that is
configured

Secure Shell (SSH)


 Remote login similar to Telnet but utilizes more security
 Stronger password authentication
 Uses encryption when transporting data

Aux Port
 Out-of-band connection
 Uses telephone line
 Can be used like console port

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 78
Accessing a Cisco IOS Device
Terminal Emulation Programs

Software available for


connecting to a networking
device
 PuTTY
 Tera Term
 SecureCRT
 HyperTerminal
 OS X Terminal

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 79
Navigating the IOS
Cisco IOS Modes of Operation

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 80
Navigating the IOS
Primary Modes

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 81
Navigating the IOS
Global Configuration Mode and Submodes

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 82
Navigating the IOS
Navigating between IOS Modes

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 83
Navigating the IOS
Navigating between IOS Modes (cont.)

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 84
The Command Structure
IOS Command Structure

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 85
The Command Structure
Cisco IOS Command Reference
To navigate to Cisco’s Command Reference to find a particular
command:
1. Go to www.cisco.com
2. Click Support.
3. Click Networking Software (IOS & NX-OS).
4. Click 15.2M&T (for example).
5. Click Reference Guides.
6. Click Command References.
7. Click the particular technology that encompasses the command you
are referencing.
8. Click the link on the left that alphabetically matches the command
you are referencing.
9. Click the link for the command.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 86
The Command Structure
Context Sensitive Help

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 87
The Command Structure
Command Syntax Check

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 88
The Command Structure
Hot Keys and Shortcuts
 Tab - Completes the remainder of a partially typed command or
keyword
 Ctrl-R - Redisplays a line
 Ctrl-A – Moves cursor to the beginning of the line
 Ctrl-Z - Exits configuration mode and returns to user EXEC
 Down Arrow - Allows the user to scroll forward through former
commands
 Up Arrow - Allows the 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

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 89
The Command Structure
IOS Examination Commands

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 90
The Command Structure
The show version Command

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 91
2.2 Getting Basic

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 92
Hostnames
Why the Switch
Let’s focus on
 Creating a two PC network connected via a switch
 Setting a name for the switch
 Limiting access to the device configuration
 Configuring banner messages
 Saving the configuration

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 93
Hostnames
Device Names
Some guidelines for naming conventions are that names should:
 Start with a letter
 Contain no spaces
 End with a letter or digit
 Use only letters, digits, and dashes
 Be less than 64 characters in length

Without names, network


devices are difficult to
identify for configuration
purposes.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 94
Hostnames
Hostnames

Hostnames allow
devices to be
identified by
network
administrators
over a network or
the Internet.

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 95
Hostnames
Configuring Hostnames

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 96
Limiting Access to Device Configurations
Securing Device Access
The passwords introduced here are:

 Enable password - Limits access to the privileged


EXEC mode

 Enable secret - Encrypted, limits access to the


privileged EXEC mode

 Console password - Limits device access using the


console connection

 VTY password - Limits device access over Telnet

Note: In most of the labs in this course, we will be


using simple passwords such as cisco or class.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 97
Limiting Access to Device Configurations
Securing Privileged EXEC Access

 use the enable secret command, not the


older enable password command
 enable secret  provides greater security because
the password is encrypted

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 98
Limiting Access to Device Configurations
Securing User EXEC Access

 Console port must be secured


• reduces the chance of unauthorized personnel physically
plugging a cable into the device and gaining device
access

 vty lines allow access to a Cisco device via Telnet


• number of vty lines supported varies with the type of
device and the IOS version

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 99
Limiting Access to Device Configurations
Encrypting Password Display
service password-
encryption
 prevents
passwords from
showing up as
plain text when
viewing the
configuration 
 purpose of this
command is to
keep unauthorized
individuals from
viewing passwords
in the configuration
file
 once applied,
removing the
encryption service
does not reverse
the encryption

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 100
Limiting Access to Device Configurations
Banner Messages
 important part of
the legal process in
the event that
someone is
prosecuted for
breaking into a
device
 wording that
implies that a login
is "welcome" or
"invited" is not
appropriate
 often used for legal
notification
because it is
displayed to all
connected
terminals

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 101
Saving Configurations
Configuration Files
 Switch# reload
System configuration has
been modified. Save?
[yes/no]: n
Proceed with reload?
[confirm]
 Startup configuration is
removed by using
the erase startup-config
Switch# erase startup-config
 On a switch you must
also issue the delete
vlan.dat 
Switch# delete vlan.dat 
Delete filename [vlan.dat]?
Delete flash:vlan.dat?
[confirm]

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 102
Saving Configurations
Capturing Text

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 103
2.3 Address Schemes

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 104
Ports and Addresses
IP Addressing in the Large
 Each end device on a
network must be
configured with an IP
address
 Structure of an IPv4
address is called dotted
decimal
 IP address displayed in
decimal notation, with
four decimal numbers
between 0 and 255
 With the IP address, a
subnet mask is also
necessary
 IP addresses can be
assigned to both
physical ports and virtual
interfaces

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 105
Ports and Addresses
Interfaces and Ports
 Network communications depend on end user device interfaces,
networking device interfaces, and the cables that connect them
 Types of network media include twisted-pair copper cables, fiber-
optic cables, coaxial cables, or wireless
 Different types of network media have different features and benefits
 Ethernet is the most common local area network (LAN) technology
 Ethernet ports are found on end user devices, switch devices, and
other networking devices
 Cisco IOS switches have physical ports for devices to connect to, but
also have one or more switch virtual interfaces (SVIs - no physical
hardware on the device associated with it; created in software)
 SVI provides a means to remotely manage a switch over a network

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 106
Addressing Devices
Configuring a Switch Virtual Interface

 IP address - together with subnet mask, uniquely identifies end


device on internetwork
 Subnet mask - determines which part of a larger network is used by
an IP address
 interface VLAN 1 - interface configuration mode
 ip address 192.168.10.2 255.255.255.0 - configures the IP address
and subnet mask for the switch
 no shutdown - administratively enables the interface
 Switch still needs to have physical ports configured and VTY lines to
enable remote management
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 107
Addressing Devices
Manual IP Address Configuration for End Devices

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 108
Addressing Devices
Automatic IP Address Configuration for End Devices

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 109
Addressing Devices
IP Address Conflicts

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 110
Verifying Connectivity
Test the Loopback Address on an End Device

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 111
Verifying Connectivity
Testing the Interface Assignment

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 112
Verifying Connectivity
Testing End-to-End Connectivity

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 113
Configuring a Network Operating System
Chapter 2 Summary
 Services provided by the Cisco IOS accessed using a command-line
interface (CLI)
• accessed by either the console port, the AUX port, or through
telnet or SSH
• can make configuration changes to Cisco IOS devices
• a network technician must navigate through various hierarchical
modes of the IOS
 Cisco IOS routers and switches support a similar operating system
 Introduced the initial settings of a Cisco IOS switch device
• setting a name
• limiting access to the device configuration
• configuring banner messages
• saving the configuration

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 114
Configuring a Network Operating System
Chapter 2 Summary

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 115
Configuring a Network Operating System
Chapter 2 Summary

Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 116

You might also like