当前所在位置:珠峰网资料 >> 计算机 >> 计算机等级考试 >> 正文
两方认证完成CISCOPPP配置
发布时间:2010/9/7 15:19:57 来源:城市学习网 编辑:ziteng
  在路由设置中我们通常会涉及很多协议的内容,这个也是我们管理员需要了解的。那么这里我们则针对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须另外配
广告合作:400-664-0084 全国热线:400-664-0084
Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号
珠峰网 版权所有 All Rights Reserved