Escolar Documentos
Profissional Documentos
Cultura Documentos
WAN protocols
WAN solutions
Interface and cabling
configuration
Secondary station
Under control of primary station
Frames issued called responses
Balanced
Two combined stations
Supports full duplex and half duplex
Frame Structure
Synchronous transmission
All transmissions in frames
Single frame format for all data and control
exchanges
Flag Fields
Bit Stuffing
Example with
possible errors
Address Field
Identifies secondary station that sent or will receive frame
Usually 8 bits long
May be extended to multiples of 7 bits
LSB of each octet indicates that it is the last octet (1) or not (0)
Control Field
Different for different frame type
Information - data to be transmitted to user (next
layer up)
Flow and error control piggybacked on information
frames
Poll/Final Bit
Use depends on context
Command frame
P bit
1 to solicit (poll) response from peer
Response frame
F bit
1 indicates response to soliciting command
Information Field
Only in information and some unnumbered
frames
Must contain integral number of octets
Variable length
FCS
Error detection
16 bit CRC
Optional 32 bit CRC
HDLC Operation
Exchange of information, supervisory and
unnumbered frames
Three phases
Initialization
Data transfer
Disconnect
Supervisory Frames
Receive Ready
Receive Not Ready
Reject
Selective Reject
--- RR
--- RNR
--- REJ
--- SREJ
Unnumbered Frames
Control operations
Set up and take down communications link
Maintenance
Theunnumberedformat.
SABME(Set
Asynchronous
BalancedMode)
DM(Disconnect
Mode)
UI(Unnumbered
Information)
DISC
(Disconnect)
UA(Unnumbered
Ack)
FRMR(Frame
Reject)
XID(Exchange
Identification)
1111P110 C
Requestlogicalconnection
1111F000 R
1100P010 C
Unabletoestablishormaintainlogical
connection
Usedforunacknowledgedinformation
transfer
Terminatelogicalconnection
1100F110 R
AcknowledgeSABMEorDISC
1110F001 R
Unacceptableframereport
1100P000 C
Operations
ConnectionEstablishment
SABME>
<UA
DataTransfer
Iframesand
Sframesforflowanderrorcontrol.
Disconnect
EitherentitycanissueaDISC.
PPP non-requirements
no error correction/recovery
no flow control
out of order delivery OK
no need to support multipoint links (e.g.,
polling)
Error recovery, flow control, data re-ordering
all relegated to higher layers!|
Byte Stuffing
data transparency requirement: data field must
be allowed to include flag pattern <01111110>
Q: is received <01111110> data or flag?
Byte Stuffing
flag byte
pattern
in data
to send
ISDN (ITU-D)
ABM
Always 7-bit sequence numbers (no 3-bit)
16 bit address field contains two sub-addresses
One for device and one for user (next layer up)
ABM
7-bit sequence numbers
16 bit CRC
2, 3 or 4 octet address field
Data link connection identifier (DLCI)
Identifies logical connection
X.25
1976
Interface between host and packet switched
network
Almost universal on packet switched networks and
packet switching in ISDN
Defines three layers
Physical
Link
Packet
X.25 - Physical
Interface between attached station and link
to node
Data terminal equipment DTE (user
equipment)
Data circuit terminating equipment DCE
(node)
Uses physical layer specification X.21
X.25 - Link
Link Access Protocol Balanced (LAPB)
Subset of HDLC
Point to point link between system and packet
switching network node
X.25 - Packet
External virtual circuits
Logical connections (virtual circuits)
between subscribers
Virtual Call
Packet Format
Multiplexing
DTE can establish 4095 simultaneous
virtual circuits with other DTEs over a
single DTC-DCE link
Packets contain 12 bit virtual circuit number
Packet Sequences
Complete packet sequences
Allows longer blocks of data across network with
smaller packet size without loss of block integrity
A packets
M bit 1, D bit 0
B packets
The rest
Restart
Equivalent to a clear request on all virtual circuits
E.g. temporary loss of network access
Protocol Architecture
Similarities between ATM and packet switching
Transfer of data in discrete chunks
Multiple logical connections over single physical
interface
Call
Establishment
Using VPs
VP/VC Characteristics
Quality of service
Switched and semi-permanent channel
connections
Call sequence integrity
Traffic parameter negotiation and usage
monitoring
VPC only
Virtual channel identifier restriction within VPC
ATM Cells
Fixed size
5 octet header
48 octet information field
Small cells reduce queuing delay for high
priority cells
Small cells can be switched more efficiently
Easier to implement switching of small cells
in hardware
Header Format
Generic flow control
Only at user to network interface
Controls flow only at this point
Non-real time
Non-real time variable bit rate (nrt-VBR)
Available bit rate (ABR)
Unspecified bit rate (UBR)
IP
Map IP packets onto ATM cells
Fragment IP packets
Use LAPF over ATM to retain all IP infrastructure
Frame Relay
No inband signaling
No sequence numbers
No flow nor error control
Objectives
Upon completion of this chapter, you will
be able to perform the following tasks:
Explain the advantages and disadvantages of various
WAN connection types
Select the appropriate WAN connection types to
interconnect multiple sites
Select the equipment that will suit the specific needs of
each site
select the proper equipment
77
Service provider
Synchronous serial
Circuit-switched
Telephone
company
Synchronous serial
Packet-switched
Service
provider
Dedicated Connections
CSU/DSU
CSU/DSU
CSU/DSU
Telephone
company
network
E-mail
server
Asynchronous Circuit-Switched
Connections
EIA/TIA232
Modem
Telephone
company
network
Modem
EIA/TIA232
Modem
Circuit-Switched ISDN
Connections
BRI
NT1
Switch
PRI
CSU/DSU
ISDN
service
provider
Packet-Switched Connections
Synchronous
serial
CSU/DSU
Synchronous
serial
CSU/DSU
CSU/DSU
PPP, SLIP
Circuit-switched
Telephone
company
Service
provider
PPP Encapsulation
Multiple protocol
encapsulations using NCPs
in PPP
TCP/IP
IPX
PPP
encapsulation
Appletalk
Frame Relay,
X.25
Connection Selection
Considerations
Availability
Bandwidth
Cost
Ease of management
Application traffic
Quality of service and reliability
Access control
Increasing
Bandwidth
Requirements
File
transfer
Analog
dialup
Or
Or
ISDN
Frame
Relay
Client/
server
E-mail
Terminal
emulation
Analog dialup
0
2
Hours/Day
3+
WAN Connection
E1/T1
E3/T3
Frame Relay
ISDN
Asynchronous
dialup
X.25
Low control, shared bandwidth, variable costeffective for limited use connections like DDR
Company Sites
Central site,
headquarters,
enterprise
Windows
95 PC
Modem
Telecommuter site,
small office/home
office (SOHO),
mobile (remote
telecommuters)
ISDN/
analog
Packet-switched
service
Remote site,
remote office/
branch office
(ROBO)
93
Central Site
Considerations
Central site,
headquarters,
enterprise
ISDN/
analog
Packetswitched
service
ISDN/
analog
Packetswitched
service
Remote site,
remote office/
branch office
(ROBO)
Telecommuter Site
Considerations
Windows
95 PC
Modem
ISDN/
analog
Packetswitched
service
Small office/
home office (SOHO),
mobile (remote
telecommuters)
96
Modular-configuration router
Summary
After completing this chapter, you should
be able to perform the following tasks:
Determine if each site is a central site, branch office, or
telecommuter site
Select the products that will suit the specific needs of
each site
select the proper equipment
99
Review Questions
Identify the types of WAN connections discussed in this
chapter and the appropriate protocols used on each
connection.
Describe the considerations when implementing a WAN
connection at a central site, branch office, and telecommuter
site.
Identify available equipment designed for a telecommuter
site, a branch office, and a central site.
Assembling and
Cabling the WAN
Components
3-101
Objectives
Upon completion of this chapter, you will
be able to perform the following tasks:
Identify and connect necessary components to connect a central
site router to other users
Identify and connect necessary components to connect a branch
office router to other sites
Identify and connect necessary components to connect a
telecommuter site router to other sites
Identify and connect necessary components to connect a mobile
user to other sites
102
Modem
AAA server
BRI
PRI
Serial
ISDN/analog
Windows 95 PC
Modem
Telecommuter site
Async
Frame Relay
service
BRI
Serial
Branch office
103
Module
slot 3
Module
slot 2
Module
slot 1
Module
slot 0
Serial WAN
interface card
Ethernet
10BaseT
Ethernet
AUI
ISDN BRI
Console Flash
card slot
766 router
rear view
Power switch
Console
Ethernet
10BaseT
ISDN
Phone 2
BRI
Phone 1
S/T
ISDN
BRI U
Power connector
Cisco 700
Windows 95 PC
Ethernet
Modem
1
BRI (RJ-45)
Telecommuter site
Ethernet
AAA server
RJ-11
T1 (E1) for PRI
RJ-48 (DB-15)
ISDN/analog
Internal PC
modem
Serial
RS232
3 or 4
RJ-11
Frame Relay
service
BRI (RJ-45)
2
Serial
Cisco 1600
Branch office
107
Enable
LED
Enable
LED
Activity Link
LED LED
System power
System OK
Serial
CONN LED
Summary
After completing this chapter, you should
be able to perform the following tasks:
Identify and connect necessary components to connect a central
site router to other users
Identify and connect necessary components to connect a branch
office router to other sites
Identify and connect necessary components to connect a
telecommuter site router to other sites
Identify and connect necessary components to connect a mobile
user to other sites
113
Review Questions
Configuring Asynchronous
Connections to a Central Site
with Modems
Objectives
Upon completion of this chapter, you
will be able to perform the following tasks:
Configure an access server for an attached modem
Use reverse Telnet to configure an external modem
Configure a modem using autoconfigure
Chapter Activities
Central site
Async
Cisco 700
g hos
Analo
BRI
t-LAN
dialup
AAA server
PRI
Frame Relay
ISDN/analog
Windows 95 PC
Modem
Async
Frame Relay
Small office
service
BRI
Frame Relay
Branch office
Modem
Switch
Modem
Switch
Host
Digital
Analog
Digital
PCM-encoded analog data
Analog
Digital
DTE
DCE
EIA/TIA-232
or X.21
DCE
DTE
Modem SignalingData
DTE
Data
transfer
Ground
TxD
RxD
GRD
DCE
2
3
7
2
3
7
DB-25 pins
TxD
RxD
GRD
Asynchronous communication
P bits per packet
Start
bit
Stop
bit
Ideal
RX Clock
Actual
RX Clock
Asynchronous communications sometimes used for links with short packets.
DCE-initiated
Access server detects Carrier Detect (CD) low and
terminates connection
Modem must be programmed so that CD reflects the state of the
carrier
Modem Operation
RxD
TxD
CTS
Buffer
Compressor
Packetizer
(error control)
Modulator/
demodulator
Flow control
Compress
Decompress
Checksum
Retransmit
Buffer
RTS
Compressor
Packetizer
(error control)
Modulator/
demodulator
DTE-to-DTE Wiring
TxD
TxD
RxD
RxD
GND
GND
Hardware
RTS
flow control
CTS
RTS
CTS
DTR
20
20
DTR
DSR
DSR
Data
transfer
Modem
control
Error detection/correction
Microcom Networking Protocol (MNP)
MNP 24 in public domain
MNP 10 for cellular
CCITT V.42
LAP-M
MNP 4
Data compression
MNP 5: 2:1 ratio
V.42bis: 4:1 ratio
ITU standards:
V.22: 1200 bps
V.22bis: 2400 bps
DCE
Proprietary methods:
V.32 terbo: 19.2 kbps
K56Flex: 56 kbps
X2: 56 kbps
V.90: 56 kbps
DTE
DCE
4:1
Compression
ratio
DCE
DTE
28.8 kbps
115.2 kbps
115.2 kbps
Theoretical Speeds
Maximum speed with 4:1
V.42bis compression
Speed
56000
V.90
V.34
28800
V.32
turbo
19200
V.32bis
14400
V.32
224000
9600
115200
76800
57600
38400
bps
C B log 2 (1 S / N )
Bandwidth of link
Signal-to-Noise ratio
For example:
Bandwidth of telephone link from telephone to a
typical home is approx 3300Hz 300Hz = 3kHz
Signal-to-noise ratio is approx 30dB = 10log10(S/N)
Therefore, C = 3000*log2(1001) ~= 30kb/s
Asynchronous line
Reverse connection
to a modem to configure it
Objectives
Upon completion of this chapter, you
will be able to perform the following
tasks:
Configure PPP between a central site and a remote site
Configure PAP or CHAP authentication
Verify and troubleshoot a PPP link
Chapter Activities
Central site
Async
Cisco 700
Cisco 3640
PPP, CHAP
t-LAN
g ho s
Analo
BRI
dialup
AAA server
PRI
Frame Relay
ISDN/analog
Small office
Async
Frame Relay
HA
P
Modem
BRI
service
PP
P,
C
Windows 95 PC
Frame Relay
Cisco 1600
Branch office
AppleTalk
PPP
SLIP
ARAP
OSI layer
3
PPP Architecture
Upper-layer protocols
(such as IP, IPX, AppleTalk)
Physical Layer
(such as EIA/TIA-232, V.24, V.35, ISDN)
Autoselect
User
dials in
Autoselect
on?
No
Start EXEC
(or dedicated
mode)
Yes
CR
PPP
frame
Start
PPP
SLIP
frame
Start
SLIP
ARAP
frame
Start
ARAP
Authentication
Callback
Compression
PSTN/ISDN
PSTN/ISDN
Data
Multilink
Bundle
PPP Authentication
Check
local
database
Pass
Local
Incoming PPP
negotiation
Determine
authentication
method
Securit
y
server
No
authentication
Fail
Query
security
server
database
Disconnect
Pass
Start
PPP
Access server
Cisco1
Run PPP
Inputs name and
password when
prompted
Use PAP
john, urbiz
Local user
database
username john
password urbiz
Accept or reject
One-way PAP
PSTN/ISDN
hostname
hostname left
left
int
int async
async 00
encapsulation
encapsulation ppp
ppp
ppp
ppp authentication
authentication PAP
PAP
ip
ip add
add 10.0.0.1
10.0.0.1
255.255.255.0
255.255.255.0
dialer-map
dialer-map ip
ip 10.0.0.2
10.0.0.2
name
name right
right 555-2345
555-2345
ppp
ppp pap
pap sent-username
sent-username left
left
password
password left1
left1
Right
router
hostname right
int async 0
encapsulation ppp
ppp authentication PAP
ip add 10.0.0.2 255.255.255.0
dialer-map ip 10.0.0.1
name left 555-4321
ppp pap sent-username right
password right1
Two-way PAP
Run PPP
Access server
Cisco1
Use CHAP
Name: john
Password: urbiz
One-way CHAP
Local user
database
username john
password urbiz
CHAP in ActionCall
766-1
User dials in
3640-1
CHAP in ActionChallenge
766-1
User dials in
3640-1
01 id random 3640-1
CHAP in ActionResponse
User dials in
766-1
3640-1
user pass
3640-1 pc1
MD5
hash
01 id random 3640-1
CHAP in ActionResponse
(cont.)
User dials in
766-1
3640-1
user pass
3640-1 pc1
01 id random 3640-1
02 id
MD5
hash
hash
766-1
CHAP in ActionVerification
User dials in
766-1
3640-1
user pass
3640-1 pc1
01 id random 3640-1
02 id
MD5
hash
hash
766-1
user
766-1
pass
pc1
MD5
=?
hash
CHAP in ActionResult
User dials in
766-1
3640-1
user pass
3640-1 pc1
01 id random 3640-1
02 id
hash
user
766-1
pass
pc1
766-1
MD5
MD5
hash
03 id Welcome in
hash
hostname
hostname left
left
username
username right
right password
password
sameone
sameone
int
int async
async 00
encapsulation
encapsulation ppp
ppp
ppp
ppp authentication
authentication CHAP
CHAP
PSTN/ISDN
Right
router
hostname right
username left password
sameone
int async 0
encapsulation ppp
ppp authentication CHAP
Callback
server
Initiating call
Hold-queue started
Rotary group
(all busy)
Callback
client
Client called
Callback
server
Asynchronous Callback
Operation Flowchart
Call
Authenticate
Autoselect
protocol
CHAP
Hangup
Callback
Authen.
OK?
Yes
No
End
Callback client
Call initiation
1
2
User authentication
3
4
5
6
Authentication
Call acknowledgment
Client called
7
8
Connection proceeds
Asynchronous Callback
Line/Interface Commands
Router(config-if)#ppp callback accept
Router(config-if)#ppp callback initiate
Router(config)#line line-number
Router(config-line)#callback forced-wait seconds
Router(config-line)#script callback script-name
1
2
3
4
5
6
7
Callback server
Plano(config)#interface s2
Plano(config-if)#ip address 10.1.1.7 255.255.255.0
Plano(config-if)#encapsulation ppp
Plano(config-if)#dialer callback-secure
Plano(config-if)#dialer map ip 10.1.1.8 name Dallas class dial1 5555678
Plano(config-if)#dialer-group1
Plano(config-if)#ppp callback accept
Plano(config-if)#ppp authentication chap
!
Plano(config)#map-class dialer dial1
Plano(config-map-class)#dialer callback-server username
Plano(config-map-class)#dialer hold-queue timeout 60
1
2
3
4
Callback server
Dallas(config)#interface s0
Dallas(config-if)#ip address 10.1.1.8 255.255.255.0
Dallas(config-if)#encapsulation ppp
Dallas(config-if)#dialer map ip 10.1.1.7 name Plano 5551234
Dallas(config-if)#dialer-group 1
Dallas(config-if)#ppp callback request
Dallas(config-if)#ppp authentication chap
Supported Compression
Algorithms
Decompression
Compression
128 kbps
128384 kbps
Compressed
data
Data
2:1 to 3:1
Compression
ratios
128384 kbps
Predictor
Stacker
MPPC
TCP header
Configuring Compression
Router(config)#int s2
Router(config-if)#compress {predictor | stac | mppc}
TCP header
Bundle
Brand
X
Cisco
access
server
Bundle
Cisco
access
server
Bundle
Summary
After completing this chapter, you should
be able to perform the following tasks:
Configure PPP between a central site and a remote site
Configure PAP or CHAP authentication
Verify and troubleshoot a PPP link
Review Questions
An Introduction to X.25
X.25 cloud
LAN
protocol
X.25
LAN
protocol
X.25
Virtual
circuit
IP
AppleTalk
Novell IPX
Banyan VINES
XNS
DECnet
ISO-CLNS
Compressed TCP
Bridging
X.25 Protocol
Application
Presentation
Session
Transport
Network
X.25
Data Link
LAPB
Physical
Physical
X.25
DCE
X.25
DCE
X.25 DTE
DCE
X.25
DCE
X.25
DTE host
Asynchronous
terminals
Up to 10 or 11 decimal digits
X.25
ARP
ETH Destination Source
MAC
MAC
X.25 map
IP
X.25
Source
X.121
Destination
X.121
IP
IP network
X.25 Encapsulation
IP network
X.25
Data-link
frame
(LAPB) (L2)
X.25
header (L3)
IP datagram (L3)
SVC Usage
IPX
Host
AppleTalk
AppleTalk
Interface configuration
Select X.25 DTE or DCE encapsulation
Configure parameters for X.25 network attachment
Map protocol address to X.121 address
Additional configuration steps
Central(config)#interface serial 1
Central(config-if)#encapsulation x25
Central(config-if)#x25 address 311082194567
Central(config-if)#ip address 10.60.8.1 255.255.248.0
Central site
Token
Ring
S1
S0
X.25
IP address: 10.60.8.1
X.121 address: 311082194567
Branch office
IP address: 10.60.8.2
X.121 address: 311082191234
Branch(config)#interface serial 0
Branch office
Branch(config-if)#encapsulation x25
Branch(config-if)#x25 address 311082191234
Branch(config-if)#ip address 10.60.8.2 255.255.248.0
Branch(config-if)#x25 map ip 10.60.8.1 311082194567 broadcast
Central(config)#interface serial 1
Central(config-if)#encapsulation x25
Central(config-if)#x25 address 311082194567
Central(config-if)#ip address 10.60.8.1 255.255.248.0
Central site
Token
Ring
S1
X.25
IP address: 10.60.8.1
X.121 address: 311082194567
S0
Branch office
IP address: 10.60.8.2
X.121 address: 311082191234
Branch office
S0
IP address: 10.60.8.3
X.121 address: 311082198901
Step 1
Central(config)#interface serial 1
Central(config-if)#encapsulation x25
Central(config-if)#x25 address 311082194567
Central(config-if)#ip address 10.60.8.1 255.255.248.0
Central site
Token
Ring
S1
S0
X.25
IP address: 10.60.8.1
X.121 address: 311082194567
Branch office
PVC 4
IP address: 10.60.8.2
X.121 address: 311082191234
Branch(config)#interface serial 0
Branch office
Branch(config-if)#encapsulation x25
Branch(config-if)#x25 address 311082191234
Branch(config-if)#ip address 10.60.8.2 255.255.248.0
Branch(config-if)#x25 pvc 3 ip 10.60.8.1 311082194567 broadcast
Virtual circuits
Packet size
Window size
Window modulus
Range
14095
Default
Command
14095
14095
0
0
14095
14095
1
1024
14095
14095
0
0
S0
Router(config)#interface serial 0
Router(config-if)#encapsulation x25
Router(config-if)#x25
Router(config-if)#x25
Router(config-if)#x25
Router(config-if)#x25
Router(config-if)#x25
address 311082198756
ips 1024
ops 1024
win 7
wout 7
S3/1
X.121 address: 31101010XXX1
X.25
X.25
service
S0
X.121 address: 31101010XXX2
Cisco 1600
Branch office
X.25
Summary
After completing this chapter, you should be
able to perform the following tasks:
Configure an X.25 WAN connection
Assign X.121 addresses to router interfaces and map
higher-level addresses to X.25 addresses
Verify X.25 configuration in the router
Review Questions
Explain the difference between an X.25 DTE and DCE.
Assume you want an IP connection over an X.25 link.
What must you do to map the network layer address to
the X.121 address?
How can you limit traffic by lowering the amount of
acknowledgements sent across the X.25 link?
Objectives
Upon completion of this chapter, you will be
able to complete the following tasks:
Select BRI or PRI service for a particular
application
Identify Q.921 and Q.931 signaling and call
sequences
Configure ISDN BRI
Configure ISDN PRI
Configure ISDN DDR
Chapter Activities
Async
Central site
AAA server
BRI
PRI
Frame Relay
ISDN/analog
HA
P,
D
DR
Frame Relay
service
PP
,C
Small office
Async
BRI
,P
Modem
IS
DN
Windows 95 PC
Frame Relay
Branch office
SW
Channel
bank
Channel
bank
SW
SW
Digital end-to-end
BRI
16 kbps
23B (T1) or
30B (E1)
144
kbps
PRI
31 64 kbps
channels
56/64 kbps
56/64 kbps
E1
24
DS0s
64 kbps
each
T1 1.544 Mbps
64 kbps
E1 2.048 Mbps
(includes sync)
or
2.048 Mbps
(includes sync)
T1
1.544 Mbps
(includes sync)
ISDN
service provider
4
SS7
B channel
D channel/SS7 signaling
3
Q.931 signaling
TE1
NT2
NT1
ISDN terminal
equipment
Customer
premises
switching
equipment
Local loop
terminator
R
TE2
TA
Non-ISDN Terminal
terminal
adapter
equipment
LE
ISDN local
exchange
U.S. demarcation
Non-U.S. demarcations
To ISDN
service
device (TE2)
S/T
TA
4-wire
circuit
S/T bus
ISDN
phone
S/T bus
Cisco ISDN
router
NT1
U
2-wire
circuit
Wall
jack
S/T interface as a
multipoint connection
TE
ITU-T
I.430
CSU/
DSU
LE
ITU-T
I.431
ANSI
T1.601
D Channel
B Channel
DSS1 (Q.931)
IP/IPX
LAPD (Q.921)
HDLC/PPP/FR/
LAPB
I.430/I.431/ANSI T1.601
NT
1 1
F L
B1
TE
1 1
F L
B1
TE Frame
1 1 1 1 1
1 1 1
1 1 1
1 1 1
L D L F L
B2
L D L
B1
L D L
B2
L D L
1 1 1 1 1
1 1 1
1 1 1
1 1 1
E D A F F
B2
E D S
B1
E D S
B2
E D S
NT Frame
ISDN Layer 2
TEI/SAPI
Daisy-chain
S/T bus
TEI/SAPI
NT1
LE
ISDN
NT1
Q.931
LT
ET
party
Time
Setup
Setup
acknowledge
Call
proceeding
Alerting
ISDN
service
provider
Setup
Call proceeding
Alerting
Connect
Connect
Connect
acknowledge
Connect
acknowledge
ISDN
switch
ISDN
switch
Calling party
Disconnect
Disconnect
Called party
Release
ISDN
service
provider
Released
Released
Release complete
Release complete
ISDN
switch
ISDN
switch
DDR Operation
Incoming packet
Interesting
?
No
Yes
Yes
Connected
?
Reset
Idle
Timer
Connected
?
No
Interface
up?
No
Yes
Phone #
?
Yes
Dial
Send
No
Yes
No
BRI or
2.
PRI
3.
ISDN
service
provider
4.
1. Packet arrives
2. Switch packet to DDR interface,
determine if interesting
3. If interesting, dial DDR destination via ISDN
4. Connect to remote router
Remote
router
Global configuration
Interface configuration
Dial destination
ISDN
service
provider
Remote
router
Default route is
toward cloud
TCP/IP
BRI 0
172.108.0.0
192.254.35.2
172.254.45.2
172.254.45.1
172.254.50.0
172.254.30.0
10.0.0.1
Router(config)#router igrp 109
Router(config-router)#network 172.108.0.0
Router(config-router)#redistribute static
Router(config)#ip route 192.150.42.0
255.255.255.0 10.0.0.2
10.0.0.2
192.150.42.0
BRI 0
BRI 0
192.168.2.1
10.170.0.2
NT1
ISDN
5105551234
4085554000
NT1
Cisco-b
BRI 0
E0
192.168.1.1
ISDN
Cisco-a
4085554000
10.170.0.2
Cisco-b
hostname Cisco-a
isdn switch-type basic-5ess
username Cisco-b password samepass
interface bri 0
ip address 10.170.0.1 255.255.0.0
encapsulation ppp
dialer idle-timeout 300
dialer map ip 10.170.0.2 name Cisco-b 4085554000
dialer-group 1
ppp authentication chap
!
ip route 192.168.1.0 255.255.255.0 10.170.0.2
dialer-list 1 protocol ip permit
192.168.1.1
10.170.0.2
ISDN
Cisco-a
192.168.2.1
BRI 0
Cisco-b
hostname Cisco-b
isdn switch-type basic-5ess
username Cisco-a password samepass
interface bri 0
ip address 10.170.0.2 255.255.0.0
encapsulation ppp
dialer idle-timeout 300
dialer map ip 10.170.0.1 name Cisco-a 5105551234
dialer-group 1
ppp authentication chap
!
ip route 192.168.2.0 255.255.255.0 10.170.0.1
dialer-list 1 protocol ip permit
10.170.0.1
BRI 0
Cisco-a
NT1
4085554000
ISDN
Service
Provider
4085551234
NT1
Cisco-b
192.168.1.1
10.170.0.3
NT1
Cisco-c
192.168.3.1
4085554000
10.170.0.2 Cisco-b
10.170.0.1
BRI 0
ISDN
Service
Provider
192.168.1.1
4085551234
10.170.0.3 Cisco-c
hostname Cisco-a
isdn switch-type basic-dms100
username Cisco-b password samepass
username Cisco-c password samepass
interface bri 0
ip address 10.170.0.1 255.255.0.0
encapsulation ppp
dialer idle-timeout 300
dialer map ip 10.170.0.2 name Cisco-b 4085554000
dialer map ip 10.170.0.3 name Cisco-c 4085551234
dialer-group 2
ppp authentication chap
(continued on next figure)
192.168.3.1
4085554000
10.170.0.2 Cisco-b
10.170.0.1
BRI 0
ISDN
Service
Provider
192.168.1.1
4085551234
10.170.0.3 Cisco-c
192.168.3.1
B Channel Aggregation
64 kbps
B1
64 kbps
B2
With BOD
or MP
Speed
Limit
128
kbps
Router
Buffer
ISDN
B2
Router(config)#int bri0
Router(config-if)#dialer loadthreshold load
Data out
B1
B2
A1
A2
Sequencing and
fragmentation
ISDN
service provider
B1
B2
A1
A2
Sequencing and
reassembly
Router(config)#int bri0
Router(config-if)#dialer load-threshold load [inbound | outbound | either]
Router(config-if)#ppp multilink
ISDN
Router(config-if)#ppp multilink
Router(config)#interface bri0
Router(config-if)#no ip address
Router(config-if)#encapsulation ppp
Router(config-if)#ppp multilink
Router(config-if)#dialer idle-timeout 30
Router(config-if)#dialer load-threshold 128 either
ISDN
Router(config)#interface dialer1
Router(config-if)#ip address 10.10.10.7 255.255.255.0
Router(config-if)#encapsulation ppp
Router(config-if)#dialer idle-timeout 30
Router(config-if)#dialer map ip 10.10.10.8 name Router 81012345678901
Router(config-if)#dialer load-threshold 128 either
Router(config-if)#dialer-group 1
Router(config-if)#ppp authentication chap
Router(config-if)#ppp multilink
Compare with
allowed numbers
ISDN
Router
number
A
5551234
ISDN
Router A
Accept call
Router B
64 kbps
56 kbps
64 kbps
ISDN
BRI 0
BRI 1
56 kbps
Configuring Called-Number
Answer
Router(config-if)#isdn answer1 [called-party-number]
or
Router(config-if)#isdn answer2 [called-party-number]
3 carrier transitions
Bundle
PRI
23B (T1) or
30B (E1)
D
5ESS
ISDN
ISDN
PRI
BRI
Branch office
ISDN, PPP,
CHAP, DDR
Summary
After completing this chapter, you should be able
to perform the following tasks:
Select BRI or PRI service for a particular
application
Identify Q.921 and Q.931 signaling and call
sequences
Configure ISDN BRI
Configure ISDN PRI
Configure ISDN DDR
Review Questions
Compare ISDN BRI with ISDN PRI.
If you are not sure what your ISDN switch
type is, where would you obtain this
information?
What are Q.921 and Q.931?
Establishing a
Dedicated Frame
Relay Connection and
Controlling Traffic
Flow
Objectives
Upon completion of this chapter, you will be able to
perform the following tasks:
Configure Frame Relay
Configure Frame Relay subinterfaces
Configure Frame Relay traffic shaping
Verify Frame Relay operation
Chapter Activities
Central site
Async
AAA server
BRI
PRI
Frame Relay
ISDN/analog
Windows 95 PC
Modem
Small office
Async
Frame Relay
service
BRI
Frame Relay
Branch office
261
CSU/DSU
Token
Ring
Frame Relay
works here
DLCI=500
Inverse ARP or
Frame Relay map
ARP
ETH Destination Source
MAC
MAC
IP
Frame Destination
Relay DLCI (500)
IP
(10.1.1.1)
500=Active
400=Inactive
DLCI=500 PVC
CSU/DSU
DLCI=400
PVC
Keepalive
Branch
Central(config)#interfaceSerial1
Central(configif)#ipaddress10.16.0.1255.255.255.0
Central(configif)#encapsulationframerelay
VC
Central
VC
DLCI to Branch=110
DLCI to Non-Cisco=120
10.16.0.1/24
Branch
Branch
10.16.0.2/24
Non-Cisco
10.16.0.3/24
Central(config)#interfaceSerial1
Central(configif)#ipaddress10.16.0.1255.255.255.0
Central(configif)#encapsulationframerelay
Central(configif)#bandwidth56
Central(configif)#framerelaymapip10.16.0.2110broadcast
Central(configif)#framerelaymapip10.16.0.3120broadcastietf
PVCStatisticsforinterfaceSerial0(FrameRelayDTE)
DLCI=110,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0
inputpkts14055outputpkts32795inbytes1096228
outbytes6216155droppedpkts0inFECNpkts0
inBECNpkts0outFECNpkts0outBECNpkts0
inDEpkts0outDEpkts0
outbcastpkts32795outbcastbytes6216155
<OutputOmitted>
LMIStatisticsforinterfaceSerial0(FrameRelayDTE)LMITYPE=CISCO
InvalidUnnumberedinfo0InvalidProtDisc0
InvaliddummyCallRef0InvalidMsgType0
InvalidStatusMessage0InvalidLockShift0
InvalidInformationID0InvalidReportIELen0
InvalidReportRequest0InvalidKeepIELen0
NumStatusEnq.Sent113100NumStatusmsgsRcvd113100
NumUpdateStatusRcvd0NumStatusTimeouts0
Serial3/1(in):Status,myseq215
RTIE1,length1,type1
KAIE3,length2,yourseq215,myseq215
Serial3/1(out):StEnq,myseq216,yourseen215,DTEup
datagramstart=0x1959DF4,datagramsize=13
FRencap=0xFCF10309
00750101010302D8D7
Partial mesh
1
2
3
Circuit #21
Circuit #22
CC
Circuit #23
D
Logical interface
S0.1
S0.2
S0.3
S0
Subnet A
Subnet B
Subnet C
Configuring Subinterfaces
Multipoint
Subinterfaces act as default NBMA network
Can save subnets because uses single subnet
Good for full-mesh topology
Point-to-point
Subinterfaces act as leased line
Each point-to-point connection requires its own subnet
Good for star or partial-mesh topologies
10.17.0.1
S0.2-DLCI=110
10.18.0.1
S0.3-DLCI=120
S0.3-DLCI=130
Central(config)#<OutputOmitted>
Central(configif)#interfaceSerial0
Central(configif)#noipaddress
Central(configif)#encapsulationframerelay
!
10.18.0.3
Central(config)#interfaceSerial0.2pointtopoint
S0
Central(configsubif)#ipaddress10.17.0.1255.255.255.0
Central(configsubif)#framerelayinterfacedlci110
130
!
Branch
Central(config)#interfaceSerial0.3multipoint
Central(configsubif)#ipaddress10.18.0.1255.255.255.0
Central(configsubif)#framerelayinterfacedlci120
Central(configsubif)#framerelayinterfacedlci130
!
<OutputOmitted>
10.17.0.2
S0
110
Branch
10.18.0.2
S0
120
Branch
Branch office
T1
Central site
I am congested.
BECN
FE
CN
Traffic flow
Bc=64 kbps
CIR=32 kbps
T1
Local
access
loop=64 kbps
Bc + Be
Discard frame
Bits
DE=1
Bc
Ac
ss
e
c
Frame 1
te
a
r
DE=0
CIR
Frame 2
Frame 3
Time (T=Bc/CIR)
Frame 4
Frame Relay
cloud
T1
Bottleneck
Central
site
I need to reduce
the pace at which
I send packets.
56 kbps
Branch
office
T1
N
BEC
Central
site
or
Router(configmapclass)#framerelayadaptiveshapingbecn
or
Router(configmapclass)#framerelayprioritygroupnumber
Step 3
Router(configif)#encapsulationframerelay
9.6 kbps
Egress point
Branch office
9.6 kbps
CIR=9
.
6 kbp
s
T1
kbps
CIR=9.6
I need to send
packets at the CIR
for each VC.
Central site
T1
Central site
Branch office
Central(config)#interfaceSerial2
Central(configif)#noipaddress
Central(configif)#encapsulationframerelay
Central(configif)#framerelaytrafficshaping
Central(configif)#framerelayclassbranch
!
!
Central(config)#mapclassframerelaybranch
Central(configmapclass)#framerelaytrafficrate960018000
T1
56 kbps
Branch
office
CN
BE
CN
BE
BECN
I need to adjust my
transmit speed
because of BECNs.
Central
site
56 kbps
Branch
office
BE
CN
T1
CN
BE
Central(config)#interfaceserial0
Central(configif)#noipaddress
Central(configif)#encapsulationframerelay
Central(configif)#framerelaytrafficshaping
Central(configif)#framerelayclassbecnnotify
!
!
Central(config)#mapclassframerelaybecnnotify
Central(configmapclass)#framerelayadaptiveshapingbecn
Central
site
!
mapclassframerelayslow_vcs
framerelaytrafficrate48009600
framerelaycustomqueuelist1
!
mapclassframerelayfast_vcs
framerelaytrafficrate1600064000
framerelayprioritygroup2
!
accesslist100permittcpanyanyeq2065
accesslist115permittcpanyanyeq256
!
prioritylist2protocoldecnethigh
prioritylist2protocolipnormal
prioritylist2defaultmedium
!
queuelist1protocolip1list100
queuelist1protocolip2list115
queuelist1default3
queuelist1queue1bytecount1600limit200
queuelist1queue2bytecount600limit200
queuelist1queue3bytecount500limit200
S3/1
CN
BE
S0
Cisco 1600
Branch office
Frame Relay
Frame Relay
Frame Relay
service
Summary
After completing this chapter, you should
be able to perform the following tasks:
Review Questions
What is a DLCI and how is it used to route Frame Relay
traffic?
Why would you use Frame Relay subinterfaces?
List and describe three Frame Relay traffic shaping
features.