19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

- Unidirectional PPP PAP authentication configuration on NAS:<br />

username Client password 0 cisco<br />

!<br />

interface Serial0/0<br />

ip address 10.10.10.2 255.255.255.252<br />

encapsulation ppp<br />

ppp authentication pap [callin]<br />

ppp direction callin<br />

Note: The callin keyword of the ppp authentication pap interface subcommand is optional<br />

- A router configured with the ppp authentication pap interface subcommand will use PAP to<br />

verify the identity of the peer, which means that the peer must present its username and password<br />

to the local device for verification. The local device would use the local username-based<br />

authentication system to verify and authenticate its peer.<br />

- The function of the username {remote-username} password {passwd} statement is<br />

different for PAP and CHAP. With PAP, it is only used to verify that an incoming username and<br />

password; whereas CHAP uses it to generate the response to a challenge and verify a response.<br />

- For one-way PAP authentication, the username {remote-hostname} password {passwd}<br />

statement is only required on the called device to verify the username and password sent by the<br />

calling device; whereas for two-way PAP authentication, it is required on both devices.<br />

- A router configured with the ppp authentication pap callin interface subcommand<br />

configured will only authenticate the peer during incoming calls – it will not authenticate the<br />

peer for outgoing calls.<br />

- The ppp pap sent-username {local-username} password {passwd} interface<br />

subcommand is configured on the calling device to authenticate itself to a remote called device.<br />

The remote device must have the same set of username – password statement configured.<br />

- The ppp direction {callin | callout | dedicated} interface subcommand is introduced in<br />

<strong>Cisco</strong> IOS Release 12.2T. This command is useful when a router is connected to an interface<br />

type where there is no inherent call direction, eg: a back-to-back or leased-line connection.<br />

279<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!