玩转CISCO PPP配置

网络 网络管理
对于ppp的设置,我们今天主要讲解一下CISCO PPP配置。那么在这方面我们需要关注的则是认证的内容。

我们知道PPP,点对点协议内容是我们常用到的。那么在很多设备中都有相关的设置。那么这里我们则针对CISCO PPP配置的内容进行一下细致地讲解。那么大家来详细看看其中所涉及的认证配置吧。

CISCO PPP配置1:PPP的PAP认证配置

R1:(主认证方 同样也是 被认证方)

  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 

可选项

  1. peer default ip address 192.200.10.2 ---------协商IP  
  2. compress {predictor | stac}  
  3. ip tcp header-compress 

R2:(主认证方 同样也是 被认证方)

  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 

可选项

  1. ip address nego-----------------------------------与同另一端一同设置  
  2. compress {predictor | stac}  
  3. ip tcp header-compress 

CISCO PPP配置2:PPP的CHAP认证配置

方法一

R1:(主认证方)

  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:(被认证方)

  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 

方法二

R1:(主认证方)

  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:(被认证方)

  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 

注:如需PPP压缩方法同[PPP的PAP配置],DCE,DTE须另外配

CISCO PPP配置原文地址:http://hi.baidu.com/yhpspace/blog/item/05aa83551784b7c7b645ae59.html

责任编辑:佟健 来源: hi.baidu.com
相关推荐

2010-09-07 14:50:20

CISCO PPP配置

2010-09-03 10:09:45

CISCO PPP配置

2010-08-04 14:16:32

路由器配置

2010-09-28 13:53:52

2010-09-06 10:47:00

PPP配置

2011-04-13 12:18:38

PAP认证PPP

2010-09-06 09:44:34

PPP协议PAP认证配置

2010-09-16 16:06:35

PPPoE配置

2010-08-03 08:52:57

配置

2010-09-07 15:39:46

2010-09-16 13:16:20

CISCO PPPoE

2010-09-03 09:28:55

PPPDDRMultilink

2011-04-01 10:19:13

MrtgCISCO安装

2010-05-28 18:57:15

Mrtg配置

2010-09-25 09:50:30

2011-04-08 10:37:41

静态路由路由器

2010-09-27 13:06:36

Cisco 3620

2010-08-06 13:50:22

2010-08-06 11:38:26

思科路由器DHCP配置

2010-01-18 10:37:51

端口监控配置
点赞
收藏

51CTO技术栈公众号