05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

486 Chapter 10 � Wide Area <strong>Network</strong>ing Protocols<br />

Router(config-if)#encapsulation ppp<br />

Router(config-if)#^Z<br />

Router#<br />

Of course, PPP encapsulation must be enabled on both interfaces connected<br />

to a serial line to work, and there are several additional configuration<br />

options available by using the help command.<br />

Configuring PPP Authentication<br />

After you configure your serial interface to support PPP encapsulation, you<br />

can then configure authentication using PPP between routers. First set the<br />

hostname of the router if it is not already set. Then set the username and<br />

password for the remote router connecting to your router.<br />

Router#config t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

Router(config)# hostname RouterA<br />

RouterA(config)#username todd password cisco<br />

When using the hostname command, remember that the username is the<br />

hostname of the remote router connecting to your router. It is case-sensitive.<br />

Also, the password on both routers must be the same. It is a plain-text password<br />

and can be seen with a show run command. You can configure the<br />

password to be encrypted by using the command service passwordconfig<br />

before you set the username and password. You must have a username<br />

and password configured for each remote system you are going to connect<br />

to. The remote routers must also be configured with usernames and<br />

passwords.<br />

After you set the hostname, usernames, and passwords, choose the<br />

authentication type, either CHAP or PAP.<br />

RouterA#config t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

RouterA(config)#int s0<br />

RouterA(config-if)#ppp authentication chap<br />

RouterA(config-if)#ppp autherntication pap<br />

RouterA(config-if)#^Z<br />

RouterA#

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

Saved successfully!

Ooh no, something went wrong!