Exploration Accessing WAN Chapter2
Exploration Accessing WAN Chapter2
(PPP)
ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Objectives
Describe the fundamental concepts of point-to-point serial
communication including TDM, demarcation point, DTE-DCE
functions, HDLC encapsulation, and serial interface
troubleshooting.
Describe PPP concepts including PPP layered architecture, PPP
frame structure, PPP session establishment, multiprotocol
encapsulation support, link control protocol (LCP), network
control protocol (NCP), and Internet Protocol Control Protocol
(IPCP).
Configure PPP on a serial interface including enabling PPP
encapsulation, verifying the PPP connection and troubleshooting
encapsulation problems.
Configure PPP authentication including explaining PAP and
CHAP authentication protocols, configuring PPP authentication
using PAP and CHAP, and troubleshooting PPP authentication
problems.
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
HDLC Encapsulation
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Conti…
Frame Relay - Industry standard, switched, Data Link layer protocol that
handles multiple virtual circuits. Frame Relay is a next generation protocol
after X.25.
ATM - The international standard for cell relay in which devices send
multiple service types (such as voice, video, or data) in fixed-length (53-
byte) cells. Fixed-length cells allow processing to occur in hardware,
thereby reducing transit delays.
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4
Configuring HDLC Encapsulation
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
Trouble shooting the Serial Interface
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
PPP
What is PPP?
Recall that HDLC is the default serial encapsulation method when you
connect two Cisco routers.
With an added protocol type field, the Cisco version of HDLC is
proprietary.
Thus, Cisco HDLC can only work with other Cisco devices.
However, when you need to connect to a non-Cisco router, you should
use PPP encapsulation.
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Conti…
PPP contains 3 main components :
HDLC for encapsulating L3 over point to point links.
LCP to establish, configure & test L2 connection.
Family of NCPs for configuration different protocols.
LCP
LCP sits on top of the physical layer & establishes configures & tests the
data link connection.
LCP establishes the P2P link, negotiates & sets up control options on the
WAN data link.
LCP provides the following services:
Handling varying limits on packet size
Detecting common misconfiguration issues
Terminating the link
Determining when link is functioning or not
Setting up authentication compression & error detection
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Conti…
NCP
PPP permits multiple L3 protocols on the same link
For every L3 protocol used PPP uses a separate NCP
e.g. ICPCP, CDPCP, IPXCP, ATCP
Each NCP manages the specific needs required by its respective
network
layer protocols
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Conti…
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Point-to-Point Concepts
Three phases of PPP session establishment
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
PPP Configuration Options
PPP can be configured to support various functions including:
Authentication using either PAP or CHAP
Error Detection
Multilink which combines two or more channels to increase the WAN
bandwidth
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
PPP Configuration Commands
R3#configure terminal
R3(config)#interface serial 0/0/0
R3(config-if)#encapsulation ppp
Quality
R3(config-if)#ppp quality 80
Multilink
Router(config-if)#ppp multilink –this command perform load balancing
Verification-- show interfaces serial
Debug-Packet, negotiation, authentication, compression, etc
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
PPP Authentication Protocol
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Conti…
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Configuring PPP with Authentication
Differentiate between PAP and CHAP
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Configuring PPP with Authentication
Describe how to use PAP to authenticate a PPP
connection
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Configuring PPP with Authentication
Describe how to use CHAP to authenticate a PPP
connection
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Configuring PPP with Authentication
Explain how to configure a PPP connection with
authentication
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Configuring PPP with Authentication
Explain the output of the debug ppp authentication
command
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Summary
WAN Encapsulation
–HDLC default encapsulation
–PPP
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Summary
PPP authentication
–PAP
•2 way handshake
–CHAP
•3 way handshake
–Use debug ppp authentication to confirm authentication
configuration
PPP configuration
–Done on a serial interface
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23