Cisco router-Wan protocol settings (1)

Source: Internet
Author: User

CHAP (Challenge Handshake Authentication Protocol) and PAP (Password Authentication Protocol) are generally used to provide security Authentication on PPP encapsulated serial lines. With CHAP and PAP authentication, each Cisco router is identified by a name to prevent unauthorized access.

Task commands

Set the PPP encapsulation ppp1

Set the authentication method ppp authentication {chap | chap pap | pap chap | pap} [if-needed] [list-name | default] [callin]

Specify the password username password secret

Set the DCE line speed to clockrate speed

Example

The S0 ports of Cisco router Router1 and Router2 both encapsulate the PPP protocol and adopt CHAP for authentication. In Router1, a user should be created with the peer Cisco router host name as the user name, that is, the user name should be router2. At the same time, a user should be created in Router2, with the peer Cisco router host name as the user name, that is, the user name should be router1. The password of the user must be the same.

The settings are as follows:

Router1:

Hostname router1

Username router2 password xxx

Interface Serial0

Ip address 192.200.10.1 255.255.255.0

Clockrate 1000000

Ppp authentication chap

!

Router2:

Hostname router2

Username router1 password xxx

Interface Serial0

Ip address 192.200.10.2 255.255.255.0

Ppp authentication chap

!

ISDN


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.