浅述CISCO PPP配置的过程

网络 网络管理
这里我们介绍的是CISCO 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-06 14:10:27

PPP内核

2010-09-07 14:30:20

Linux PPPoE

2010-09-06 14:32:55

CISCO PPP配置

2010-07-06 17:05:22

PPPOE协议

2010-06-29 12:17:16

SIGTRAN协议

2010-07-15 13:52:51

TELNET连接

2010-06-24 15:02:43

FTP协议

2010-08-05 17:06:58

RIP路由协议

2010-07-13 14:52:21

Linux SNMP

2010-07-12 16:58:34

LEACH协议

2011-04-29 13:23:11

分页数据存储

2009-09-28 14:49:44

Hiberante映射

2009-09-25 13:10:15

Hibernate性能

2010-08-02 16:08:24

ICMP协议设置

2010-08-04 16:55:16

NFS服务

2010-07-20 17:40:57

AIX telnet

2011-05-06 15:54:47

Service BroSQL Server

2010-09-03 10:09:45

CISCO PPP配置

2010-04-21 18:21:36

负载均衡器配置

2010-06-10 16:16:42

BGP路由协议
点赞
收藏

51CTO技术栈公众号