Cisco ppp Configuration

Source: Internet
Author: User

We know that PPP and point-to-point protocols are commonly used. Related settings are available on many devices. Here we will give a detailed explanation of the configuration of cisco ppp. Let's take a closer look at the authentication configuration involved.

Cisco ppp configuration 1: PAP authentication configuration for PPP

R1: (the primary authenticated party is also the authenticated party)

 
 
  1. hostname r1  
  2. username r2 password yhp  
  3. int s0/0  
  4. ip add 192.200.10.1 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication pap  
  7. ppp pap sent-username r1 password yhp  
  8. no shutdown 

Optional

 
 
  1. Peer default ip address 192.200.10.2 --------- negotiate IP address
  2. Compress {predictor | stac}
  3. Ip tcp header-compress

R2: (the primary authenticated party is also the authenticated party)

 
 
  1. hostname r2  
  2. username r1 password yhp  
  3. int s0/0  
  4. ip add 192.200.10.2 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication pap  
  7. ppp pap sent-username r2 password yhp  
  8. no shutdown 

Optional

 
 
  1. Ip address nego ------------------------------------- set with the same end
  2. Compress {predictor | stac}
  3. Ip tcp header-compress

Cisco ppp configuration 2: CHAP authentication configuration for PPP

Method 1

R1: (primary authenticated party)

 
 
  1. hostname r1  
  2. username r2 pass yhp  
  3. int s0/0  
  4. ip add 192.200.10.1 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication chap  
  7. no shutdown 

R2: (authenticated party)

 
 
  1. hostname r2  
  2. username r1 pass yhp  
  3. int s0/0  
  4. ip add 192.200.10.2 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication chap  
  7. no shutdown 

Method 2

R1: (primary authenticated party)

 
 
  1. hostname r1  
  2. username r2 pass cisco  
  3. int s0/0  
  4. ip add 192.200.10.1 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication chap  
  7. no shutdown 

R2: (authenticated party)

 
 
  1. hostname r2  
  2. username r1 pass cisco  
  3. int s0/0  
  4. ip add 192.200.10.2 255.255.255.0  
  5. encapsulation ppp  
  6. ppp authentication chap  
  7. ppp chap hostname yhp  
  8. no shutdown 

Note: If the PPP compression method is required, the [ppp pap configuration], DCE, and DTE must be configured separately.

Cisco ppp configuration Source Address: http://hi.baidu.com/yhpspace/blog/item/05aa83551784b7c7b645ae59.html

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.