Documente Academic
Documente Profesional
Documente Cultură
(PPP)
55 possible
possible problem
problem states
states in
in the
the interface
interface status
status line:
line:
•• Serial
Serial xx is
is down,
down, line
line protocol
protocol isis down
down
•• Serial
Serial xx is
is up,
up, line
line protocol
protocol isis down
down
•• Serial
Serial xx is
is up,
up, line
line protocol
protocol isis up
up (looped)
(looped)
•• Serial
Serial xx is
is up,
up, line
line protocol
protocol isis down
down (disabled)
(disabled)
•• Serial
Serial xx is
is administratively
administratively down,
down, line
line protocol
protocol is
is down
down
When
When youyou need
need to
to
connect
connect toto aa non-Cisco
non-Cisco
router,
router, you
you should
should use
use
PPP
PPP encapsulation
encapsulation
PPP
PPP encapsulates
encapsulates data data
frames
frames for
for transmission
transmission over
over
Layer
Layer 22 physical
physical links
links
PPP
PPP operates
operates across
across
any
any DTE/DCE
DTE/DCE interface
interface
(RS-232-C,
(RS-232-C, RS-422,
RS-422,
RS-423,
RS-423, or
or V.35)
V.35)
LCP
LCP layer
layer has
has aa role
role in
in
establishing,
establishing,
configuring,
configuring, and
and testing
testing
the
the data-link
data-link connection
connection
For
For every
every network
network layer
layer
protocol
protocol used,
used, PPP
PPP
uses
uses aa separate
separate NCP
NCP
01111110
01111110
11111111
11111111 Max
Max 1500
1500
bytes
bytes
00000011
00000011
Stacker or Predictor
LCP
LCP options:
options:
•• Authentication
Authentication
•• Compression
Compression
•• Error
Error detection
detection
•• Multilink
Multilink
•• PPP
PPP Callback
Callback
Router#
Router# configure
configure terminal
terminal
Router(config)#
Router(config)# interface
interface serial
serial 0/0
0/0
Router(config-if)#
Router(config-if)# encapsulation
encapsulation ppp
ppp
Router(config-if)#
Router(config-if)# compress
compress [predictor
[predictor ||
stac]
stac]
Router(config-if)#
Router(config-if)# ppp
ppp quality
quality 80
80
Router(config-if)#
Router(config-if)# ppp
ppp multilink
multilink
Router
Router R1
R1 connects
connects to
to Router
Router R3
R3
Router
Router R1
R1 connects
connects to
to Router
Router R3
R3
PAP
PAP Bi-directional
Bi-directional Authentication
Authentication
Server Client
S0
S1
Server(config)# username abc password 12345 Client(config)# username abc password 12345
Server(config)# interface serial 0 Client(config)# interface serial 1
Server(config-if)# encapsulation ppp Client(config-if)# encapsulation ppp
Server(config-if)# ppp authentication pap Client(config-if)# ppp authentication pap
Server(config-if)# ppp pap sent-username abc Client(config-if)# ppp pap sent-username abc
password 12345 password 12345
CHAP
CHAP Authentication
Authentication
Code:
Code:
11 == Challenge
Challenge
22 == Response
Response
33 == Success
Success
44 == Failure
Failure