Configuration Example: PPP


Figure 25-1 shows the network topology for the configuration that follows, which shows how to configure PPP using the commands covered in this chapter.

Figure 25-1. Network Topology for PPP Configuration


Note:

The host name, password, and interfaces have all been configured as per the configuration example in Chapter 6, "Configuring a Single Cisco Router."


Boston Router

Boston>en

 

Boston#config t

 

Boston(config)#username Buffalo password academy

Sets the local username and password for PPP authentication of the PPP peer

Boston(config-if)#int s 0/0

 

Boston(config-if)#desc Link to Buffalo Router

Defines the locally significant link description

Boston(config-if)#ip add 172.16.20.1 255.255.255.0

Assigns IP address to interface

Boston(config-if)#clockrate 56000

Sets clock rate to data communications equipment (DCE) side of link

Boston(config-if) #encapsulation ppp

Turns on PPP encapsulation

Boston(config-if)#ppp authentication chap

Turns on CHAP authentication

Boston(config-if)#no shut

Turns on interface

Boston(config-if)#exit

Exits interface mode

Boston(config)#exit

Exits global config mode

Boston#copy run start

Saves config to NVRAM


Buffalo Router

Buffalo>en

 

Buffalo#config t

 

Buffalo(config)#username Boston password academy

Sets username and password for PPP authentication

Buffalo(config-if)#int s 0/1

 

Buffalo(config-if)#desc Link to Boston Router

Defines the locally significant link description

Buffalo(config-if)#ip add 172.16.20.2 255.255.255.0

Assigns IP address to interface

Buffalo(config-if) #encapsulation ppp

Turns on PPP encapsulation

Buffalo(config-if)#ppp authentication chap

Turns on CHAP authentication

Buffalo(config-if)#no shut

Turns on interface

Buffalo(config-if)#

Exits back to privileged mode

Buffalo#copy run start

Saves config to NVRAM





CCNA Self-Study(c) CCNA Portable Command Guide
CCNA Portable Command Guide
ISBN: 1587201585
EAN: 2147483647
Year: 2006
Pages: 261
Authors: Scott Empson

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net