码迷,mamicode.com
首页 > 其他好文 > 详细

H3C PPP

时间:2016-04-11 07:28:04      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:ppp

PPP

单向认证:

PAP

主认证方:

[R1]local-user R2 class network

New local user added.

[R1-luser-network-R2]password simple 123

[R1-luser-network-R2]service-type ppp

[R1-luser-network-R2]quit

[R1]int s1/0

[R1-Serial1/0]ppp authentication-mode pap

被认证方:

[R2]int s1/0

[R2-Serial1/0]ppp pap local-user R2 password simple 123

CHAP:

主认证方:

[R1]int s1/0

[R1-Serial1/0]ppp authentication-mode chap

[R1-Serial1/0]ppp chap user R1

[R1-Serial1/0]quit

[R1]local-user R2 class network

[R1-luser-network-R2]password simple 123

[R1-luser-network-R2]service-type ppp

被认证方:

[R2]int s1/0

[R2-Serial1/0]ppp chap user R2

[R2-Serial1/0]ppp chap password simple 123

双向认证:

PAP:

R1配置

[R1]local-user R2 class network

New local user added.

[R1-luser-network-R2]password simple 123

[R1-luser-network-R2]service-type ppp

[R1-luser-network-R2]quit

[R1]int s1/0

[R1-Serial1/0]link-protocol ppp

[R1-Serial1/0]ppp authentication-mode pap

[R1-Serial1/0]ppp pap local-user R1 password simple 123

R2配置

[R1]local-user R1 class network

New local user added.

[R1-luser-network-R2]password simple 123

[R1-luser-network-R2]service-type ppp

[R1-luser-network-R2]quit

[R1]int s1/0

[R1-Serial1/0]link-protocol ppp

[R1-Serial1/0]ppp authentication-mode pap

[R1-Serial1/0]ppp pap local-user R2 password simple 123

CHAP:

R1配置

[R1]local-user R2 class network

[R1-luser-network-R2]service-type ppp

[R1-luser-network-R2]password simple 123

[R1-luser-network-R2]quit

[R1]int s1/0

[R1-Serial1/0]ppp authentication-mode chap

[R1-Serial1/0]ppp chap user R1

[R1-Serial1/0]ppp chap password simple 123

R2配置

[R2]local-user R1 class network

[R2-luser-network-R1]service-type ppp

[R2-luser-network-R1]password simple 123

[R2-luser-network-R1]quit

[R2]int s1/0

[R2-Serial1/0]ppp authentication-mode chap

[R2-Serial1/0]ppp chap user R2

[R2-Serial1/0]ppp chap password simple 123


H3C PPP

标签:ppp

原文地址:http://llzzgg.blog.51cto.com/10535395/1762447

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!