Ccna 2: © 1999, Cisco Systems, Inc
Ccna 2: © 1999, Cisco Systems, Inc
Ccna 2: © 1999, Cisco Systems, Inc
Version 2
Facilities locations
VLAN 3
VLAN 1
Legend
ISL ISL FastEthernet/
Ethernet
ISDN
VLAN 2
Dedicated
VLAN 1
ISL
ISL
Core_Server
DSU/CSU
Home Mobile
Office Users
Internet
Branch
Office Floor 2
Server Farm
ISDN
Telecommuter Floor 1
Remote Campus
Distribution
Layer
Access
Layer
Access Layer
Core Layer
• No packet manipulation
Application
Application
(Upper) Presentation
Layers
Session
Physical
User Interface
Telnet
Application
HTTP
Network Layer
Data Link
Physical
Network Packet
IP Header Data
Physical Bits
0101110101001000010
© 2000, Cisco Systems, Inc. www.cisco.com CCNA-(V2)—1-21
De-encapsulating Data
Application
Presentation
Session
Upper Layer Data
Transport
Upper Layer Data
Network
TCP+ Upper Layer Data
Physical
0101110101001000010
© 2000, Cisco Systems, Inc. www.cisco.com CCNA-(V2)—1-22
Physical Layer Functions
Defines
• Media type
802.3
Physical
• Connector type
• Signaling type
10Base2—Thick Ethernet
10Base5—Thick Ethernet
Host
Hub
10BaseT—Twisted Pair
Hosts
Physical
A B C D
Defines
• Physical source and
destination addresses
Data Link
802.2
• Higher layer protocol
(Service Access Point)
associated with frame
• Network topology
Physical
802.3
EIA/TIA-232
• Frame sequencing
v.35
• Flow control
• Connection-oriented
or connectionless
© 2000, Cisco Systems, Inc. www.cisco.com CCNA-(V2)—1-27
Data Link Layer Functions (cont.)
Ethernet II
uses “Type”
0000.0C xx.xxxx here and
does not use
IEEE assigned Vendor 802.2.
assigned
MAC Address
1 2 3 4 OR 1 2
Switch
Memory
• Each segment has its
own collision domain
• Broadcasts are
forwarded to all
segments
• Defines logical
Network
source and IP, IPX
destination
addresses
Data Link
associated with a 802.2
specific protocol
• Defines paths
through network
Physical
802.3
EIA/TIA-232
• Interconnects v.35
multiple data links
© 2000, Cisco Systems, Inc. www.cisco.com CCNA-(V2)—1-31
Network Layer Functions (cont.)
• Logical
Address
172.15.1.1
Network Node
Address Mask
172.16.122.204 255.255.0.0
172 16 122 204
Binary
Address 10101100 00010000 01111010 11001100
255 255 0 0
Binary
Mask 11111111 11111111 00000000 00000000
Network Host
2.1 2.2
1.3 4.3
1.2 4.2
E0 S0 S0 E0
Mobile User
Branch Office
Main Office
Internet
• Distinguishes between
upper layer applications
Transport
• Establishes end-to-end
connectivity between TCP UDP SPX
applications
• Defines flow control
Network
IP IPX
• Provides reliable or
unreliable services for
data transfer
Sender Receiver
Synchronize
Acknowledge, Synchronize
Acknowledge
Connection Established
Data Transfer
(Send Segments)
Collision Domains:
1 4 4 4
Broadcast Domains:
1 1 1 4
Core Layer
Distribution
Layer
Access
Layer
Cost per
Modem/ISDN
Month
– Availability of service
– Bandwidth requirement Leased Line, T1
Frame Relay
– Cost
• Second, choose products
0 Usage
that support selected WAN
solutions
64 ISDN, Voice
Frame Relay
56
Web Browsing
19.2 New Modem
E-Mail, File Transfer
9.6
Old Modem Telnet
4.8
Operating and
Configuring a Cisco
IOS Device
Interfaces
Virtual terminal
Console port
TFTP
Auxiliary port
PC or Unix server
Enter Selection:
Switch#show version
Switch#show running-config
Switch#show interfaces
wg_sw_a#show ip
IP Address: 10.5.5.11
Subnet Mask: 255.255.255.0
Default Gateway: 10.5.5.3
Management VLAN: 1
Domain name:
Name server 1: 0.0.0.0
Name server 2: 0.0.0.0
HTTP server : Enabled
HTTP port : 80
RIP : Enabled
wg_sw_a#
Configuration Modes:
• Global Configuration Mode
– wg_sw_a# conf term
– wg_sw_a(config)#
• Interface Configuration Mode
– wg_sw_a(config)#
interface e0/1
– wg_sw_a(config-if)#
Switch Name
(config)#hostname wg_sw_c
wg_sw_c(config)#
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[ ]'.
wg_ro_c con0 is now available
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
First, would you like to see the current interface summary? [yes]:
Console
Router# cl?
clear clock
Router# clock
• Symbolic translation
% Incomplete command.
• Command prompting
Router# clock ?
set Set the time and date • Last command recall
Router# clock set
% Incomplete command.
Translating "CLOK"
% Unknown command
Router#or computer
clock name,
set or unable to find computer address
19:56:00
% Incomplete command.
Router#
clear Router#
clock clock set 19:56:00 ?
• Command
<1-31> Day of the month
Router# MONTH Month of the year
prompting
% Incomplete command.
Router> terminal history size lines Set session command buffer size
wg_ro_a#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 08-Feb-99 18:18 by phanguye
Image text-base: 0x03050C84, data-base: 0x00001000
Config Config
IOS
show show
running-config startup-config
Console
Setup utility
Configuration
Mode Prompt
Interface Router(config-if)#
Subinterface Router(config-subif)#
Controller Router(config-controller)#
Line Router(config-line)#
Router Router(config-router)#
IPX router Router(config-ipx-router)#
wg_ro_c#
wg_ro_c#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
wg_ro_c#
Router Name
Router(config)#hostname wg_ro_c
wg_ro_c(config)#
Interface Description
wg_ro_c(config)#interface ethernet 0
wg_ro_c(config-if)#description Engineering LAN, Bldg. 18
Enable Password
Router(config)#enable password cisco
Secret Password
Router(config)#enable secret sanfran
Router(config)#line console 0
Router(config-line)#logging synchronous
Router(config-if)#exit
Router(config)#interface serial 0
Specify interface Router(config-if)#
Router(config)#interface serial 0
Specify interface Router(config-if)#
Router(config)#interface ethernet 2
Router(config-if)#media-type 10baset
Router#configure term
Router(config)#interface serial 0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Seria0, changed state to up
%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial0, changed state to up
Hardware is HD64570
Description: 64Kb Line to San Jose
:: :: :: :: :: :: :: :: ::
Managing Your
Network
Environment
© 1999, Cisco Systems, Inc. 1-108
Objectives
RouterA#sh cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
traffic CDP statistics
<cr>
RouterA(config)#no cdp run
RouterA(config)#interface serial0
RouterA(config-if)#no cdp enable
Version :
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fci)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 08-Feb-99 18:18 by phanguye
© 2000, Cisco Systems, Inc. www.cisco.com CCNA-(V2)—1-114
Additional CDP Commands
RouterA#telnet 10.2.2.2
Trying 10.2.2.2 ... Open
-------------------------------------------------
Catalyst 1900 Management Console
Copyright (c) Cisco Systems, Inc. 1993-1998
All rights reserved.
Enterprise Edition Software
Ethernet Address: 00-90-86-73-33-40
PCA Number: 73-2239-06
PCA Serial Number: FAA02359H8K
Remote device
Model Number: WS-C1924-EN
System Serial Number: FAA0237X0FQ
.
.
SwitchB>
RouterA#sh session
Conn Host Address Byte Idle Conn Name
1 10.1.1.2 10.1.1.2 0 1 10.1.1.2
* 2 10.3.3.2 10.3.3.2 0 0 10.3.3.2
RouterA#sh user
Line User Host(s) Idle Location
* 0 con 0 10.1.1.2 3
10.3.3.2 2
11 vty 0 idle 1 10.1.1.2
RouterB#<Ctrl-Shift-6>x
RouterA#sh session
Conn Host Address Byte Idle Conn Name
1 10.1.1.2 10.1.1.2 0 1 10.1.1.2
RouterA#resume 1
RouterB#
Router#trace 10.1.1.10
Console
Interfaces
Auxiliary
RAM
ROM Bootstrap Load Bootstrap
Order of search:
IOS
1. Check configuration register
2. Parse config in NVRAM
3. Default to first file in Flash
4. Attempt net boot
5. RXBOOT
6. ROMMON
Valid
No IOS in Yes Use IOS from
Boot Flash
No Flash
field =0
?
0x0 No
Attempt to get
Yes
Yes IOS from
5 failures
? network
Run
ROM No
Monitor
Yes Config reg Yes Use file from
Success
Use IOS in ROM bit 13=1 No ? Network
(RXBoot mode) ?
NORMAL
No Valid Yes START UP
Load IOS Config reg
config COMPLETE
bit 6=1
?
?
Yes No
SETUP
DIALOG
--More--
IOS
Flash
Console
IOS
show flash
wg_ro_a#sh flash
Config Config
IOS
show show
running-config startup-config
Console
Setup utility
• NVRAM
config term
(merge)
• NVRAM
• Terminal
config term
(merge)
• Terminal TFTP
server
• TFTP server
config term
(merge)
erase
copy tftp run Console start
(merge) copy tftp start
c2500-js-l_120-3.bin
Network
Router server
wg_ro_a#show flash