Академический Документы
Профессиональный Документы
Культура Документы
2
Managing Cisco IOS Images
3
Verifying Memory Image
Filenames
wg_ro_a#show flash
4
Creating a Software Image
Backup
5
Upgrading the Image from the
Network
6
LAB
Install TFTP server on a virtual machine
Connect the machine to a Router
To see the content of Flash file
#show Flash
To copy flash
#Copy flash tftp
supply IP address of TFTP Server and file name
To copy running-configuration
#copy running-config tftp
supply IP address of TFTP Server and file name
7
Resolving Host Names
To use a hostname rather than an IP address to
connect to a remote device
Two ways to resolve hostnames to IP addresses
building a host table on each router
building a Domain Name System (DNS) server
8
Resolving Host Names
Building a host table
ip host host_name ip_address
R1(config)#ip host com1 10.0.0.1
R1(config)#ip host com2 10.0.0.2
To view table
R1#show hosts
9
Password Recovery
Normal Boot Sequence
POST
Bootstrap
IOS
Startup
Running
This setup is decided by configuration
register value
10
Configuration Register
Decimal 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit
Default 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 2102
11
Password Recovery
Show version will give configuration register
value
Password is stored in NVRAM
To by pass NVRAM during boot sequence we
need to change the configuration register value
To change the CR values press Ctr+Break and
go to ROM monitor mode
12
Password Recovery
Router 2500
o/r 0x2142
i
Router 2600
confreg 0x2142
>reset
13
14
WAN vs LAN
Distance between WAN and LAN
WAN speed is less
WAN is leased from Service provider
15
Remote Access Overview
A WAN is a data communications network covering a
relatively broad geographical area.
16
WAN Overview
Service
Provider
17
WAN technology/terminology
Devices on the subscriber premises are called customer premises equipment (CPE).
The subscriber owns the CPE or leases the CPE from the service provider.
A copper or fiber cable connects the CPE to the service providers nearest exchange or central
office (CO). A central office (CO) is sometimes referred to as a point of presence (POP)
This cabling is often called the local loop, or "last-mile".
18
WAN technology/terminology
19
WAN technology/terminology
Devices that put data on the local loop are called data communications
equipment (DCE).
The customer devices that pass the data to the DCE are called data
terminal equipment (DTE).
The DCE primarily provides an interface for the DTE into the communication
link on the WAN cloud.
21
WANs - Data Link
Encapsulation
The data link layer protocols define how data is encapsulated for transmission to
remote sites, and the mechanisms for transferring the resulting frames.
A variety of different technologies are used, such as ISDN, Frame Relay or
Asynchronous Transfer Mode (ATM).
These protocols use the same basic framing mechanism, high-level data link control
(HDLC)
22
WAN Technologies Overview
Dedicated Analog
T1, E1, T3, E3 Dial-up modems
DSL Switched Cable modems
SONET Wireless
Packet Switched
Covers a relative broad area
Use transmission facilities
Circuit X.25 leased from service provider
Switched Frame Relay Carries different traffic
POTS ATM (voice, video and data)
ISDN
23
Dedicated Digital Services
Dedicated Digital Services provide
full-time connectivity through a
point-to-point link
T series in U.S. and E series in
Europe
Uses time division multiplexing and
assign time slots for transmissions
T1 = 1.544 Mbps E1 = 2.048 Mbps
T3 = 44.736 Mbps E3 = 34.368 Mbps
24
Digital Subscriber Lines
Digital Subscriber Line (DSL) technology is a broadband technology
that uses existing twisted-pair telephone lines to transport high-
bandwidth data to service subscribers.
The two basic types of DSL technologies are asymmetric (ADSL) and
symmetric (SDSL).
All forms of DSL service are categorized as ADSL or SDSL and there
are several varieties of each type.
Asymmetric service provides higher download or downstream
bandwidth to the user than upload bandwidth.
Symmetric service provides the same capacity in both directions.
25
Analog Services
Dial-up Modems (switched analog)
Standard that can provides 56 kbps download speed and 33.6
kbps upload speed.
With the download path, there is a digital-to-analogue
conversion at the client side.
With the upload path, there is a analogue-to-digital conversion at
the client side.
26
Cable Modems (Shared Analog)
Cable TV provides residential premises with a coaxial cable that has a
bandwidth of 750MHz
The bandwidth is divided into 6 MHz band using FDM for each TV channel
A "Cable Modem" is a device that allows high-speed data access (Internet)
via cable TV network.
A cable modem will typically have two connections because a splitter delivers
the TV bands to TV set and the internet access bands to PC via a cable box
The splitter delivers the TV bands to TV set and the internet access bands to
PC via a cable box
27
Wireless
Terrestrial
Bandwidths typically in the 11 Mbps range
Cost is relatively low
Line-of-sight is usually required
Usage is moderate
Satellite
Can serve mobile users and remote users
Usage is widespread
Cost is very high
28
Circuit Switched Services
Integrated Services Digital Network (ISDN)
Historically important--first dial-up digital service
B
Max. bandwidth = 128 kbps for BRI (Basic Rate
D
Interface) B
2 B channels @ 64kps and 1 D channel @ 16kps
B channels are voice/data channels; D for
signaling
29
Integrated Services Digital
Network
30
WAN Connection Types
Leased lines
It is a pre-established WAN communications path
from the CPE, through the DCE switch, to the CPE of
the remote site, allowing DTE networks to
communicate at any time with no setup procedures
before transmitting data.
Circuit switching
Sets up line like a phone call. No data can transfer
before the end-to-end connection is established.
32
WAN Connection Types
Packet switching
WAN switching method that allows you to share
bandwidth with other companies to save money. As
long as you are not constantly transmitting data and
are instead using bursty data transfers, packet
switching can save you a lot of money.
However, if you have constant data transfers, then
you will need to get a leased line.
Frame Relay and X.25 are packet switching
technologies.
33
Defining WAN Encapsulation
Protocols
Each WAN connection uses an encapsulation protocol to
encapsulate traffic while it crossing the WAN link.
34
Defining WAN Encapsulation
Protocols
Typical WAN encapsulation types include the following:
35
Determining the WAN Type to Use
Availability
Each type of service may be available in certain
geographical areas.
Bandwidth
Determining usage over the WAN is important to
evaluate the most cost-effective WAN service.
Cost
Making a compromise between the traffic you need to
transfer and the type of service with the available
cost that will suit you.
36
Max. WAN Speeds for WAN
Connections
Maximum
WAN Type
Speed
Asynchronous Dial-Up 56-64 Kbps
ISDN PRI E1 / T1
Packet-switched Service
Provider
38
WAN Protocols
LAN E0 S0 S0 Network
Datalink
WAN
Physical
PPP - Open
39
HDLC Command
Router(config-if)#encapsulation hdlc
41
An Overview of PPP
PPP Encapsulation
43
PPP Authentication Overview
Dialup or
Circuit-Switched
Network
44
Selecting a PPP
Authentication Protocol
Remote Router PAP Central-Site Router
(SantaCruz) 2-Way Handshake (HQ)
santacruz, boardwalk
Accept/Reject
45
Selecting a PPP Authentication
Protocol (cont.)
CHAP
Remote Router Central-Site Router
(SantaCruz) 3-Way Handshake (HQ)
Challenge
Response
Hostname: santacruz
Accept/Reject username santacruz
Password: boardwalk password boardwalk
ppp encapsulation
ppp encapsulation
Enabling PPP Authentication Enabling PPP Authentication
hostname hostname
username / password username / password
ppp authentication ppp authentication
47
Configuring PPP
Router(config-if)#encapsulation ppp
Enable PPP encapsulation
48
Configuring PPP
Authentication
Router(config)#hostname name
49
Configuring PPP Authentication
(cont.)
Router(config-if)#ppp authentication
{chap | chap pap | pap chap | pap}
50
Configuring CHAP Example
R1 PSTN/ISDN R2
hostname R1 hostname R2
username R2 password cisco username R1 password cisco
! !
int serial 0 int serial 0
ip address 10.0.1.1 255.255.255.0 ip address 10.0.1.2 255.255.255.0
encapsulation ppp encapsulation ppp
ppp authentication CHAP ppp authentication CHAP
51
Verifying HDLC and PPP
Encapsulation Configuration
Router#show interface s0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 10.140.1.2/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Open
Open: IPCP, CDPCP
Last input 00:00:05, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
38021 packets input, 5656110 bytes, 0 no buffer
Received 23488 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
38097 packets output, 2135697 bytes, 0 underruns
0 output errors, 0 collisions, 6045 interface resets
0 output buffer failures, 0 output buffers swapped out
482 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
52
Verifying PPP Authentication with the
debug ppp authentication Command
R1 Service R2
Provider
Small office
Digital
PBX
Provider Telecommuter
network
Home office
Central site
55
ISDN Access Options
Channel Capacity Mostly Used for
B 64 kbps Circuit-switched data (HDLC, PPP)
D 16/64 kbps Signaling information
BRI
D 2B
PRI
D 23 or 30B
ISDN Ready
TE1 BRI Port I
S
D
4W 2W
NT1 N
S/T interface S
U interface w
i
TE2 TA
t
c
Analog devices: After connecting to TA it becomes TE1 h
phone, Serial port
58
Interfaces and Devices
60
LAB-ISDN
ISDN Switch
R1 R2
BRI BRI
E0
10.0.0.1 10.0.0.2 E0
192.168.0.1 192.168.1.1
192.168.0.2 192.168.1.2
61
ISDN DDR configuration
Commands
Command Description
iproute Global command that configure static route or default
route
username name name password Global command that configure CHAP username and
secret password
access-list Global command that creates ACLs to define a subset
of traffic as interesting
dialer-list 1 protocol IP Global command that creates a dialer list that makes all
IP traffic interesting or reference to ACL for subset
dialergroup 1 Interface subcommand that references dialer list to
define what is interesting
dialer idle-timeout 100 Interface subcommand that settles idle time out values
62
Packet Switched Services
X.25 (Connection-oriented)
Reliable--X.25 has been extensively debugged and is now very stable--literally no
errors in modern X.25 networks
Store & Forward--Since X.25 stores the whole frame to error check it before
forwarding it on to the destination, it has an inherent delay (unlike Frame Relay)
and requires large, expensive memory buffering capabilities.
63
Frame Relay Basics
FR is WAN layer2 protocol
FR developed in 1984, its a faster packet
switching technology
In 1990 FR consortium was developed and
extension added
64
Terminology
R1 FR Network R2
End Device Interface Device DCE Dedicated FR Switches, can be one or multiple
Encapsulate Data
Virtual Circuit an end to end connection between interface device - PVC or SVC
Data Link connection Identifiers (DLCI) number is the identification for VC, 16-1007
Committed Information Rate or CIR - agreed-upon bandwidth
Frame Relay there are two encapsulation types: Cisco and IETF
Local Management Interface (LMI) is a signaling standard used between your router and
the first Frame Relay switch i - Cisco, ANSI, and Q.933A.
65
LAB - Frame Relay
FR Switch
R1 192.168.3.10/29 R2
S0 100 200 S0
E0 E0
192.168.3.9/29 DCE DCE
192.168.1.1/24 192.168.2.1/24
192.168.1.2/24 192.168.2.2/24