2、
ppp的RAP认证
R5(主认证方)
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r5
[r5]int Serial 1/0/0
[r5-Serial1/0/0]ip address 15.0.0.5 24
[r5-Serial1/0/0]q
[r5]aaa
[r5-aaa]local-user huawei password cipher 123456
Info: Add a new user.
[r5-aaa]local-user huawei service-type ppp
[r5-aaa]q
[r5]int Serial 1/0/0
[r5-Serial1/0/0]ppp authentication-mode pap
R1(被认证方)
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r1
[r1]int Serial 1/0/0
[r1-Serial1/0/0]ppp pap local-user huawei password cipher 123456
ppp的chap认证
R5(主认证方)
[r5]int Serial 1/0/1
[r5-Serial1/0/1]ip add
[r5-Serial1/0/1]ip address 25.0.0.5 24
[r5-Serial1/0/1]q
[r5]aaa
[r5-aaa]local-user admin password cipher 654321
[r5-aaa]local-user admin service-type ppp
[r5-aaa]q
[r5]int Serial 1/0/1
[r5-Serial1/0/1]ppp authentication-mode chap
R2(被认证方)
[r2]int s
[r2]int Serial 1/0/0
[r2-Serial1/0/0]ip address 25.0.0.2 24
[r2-Serial1/0/0]ppp chap user admin
[r2-Serial1/0/0]ppp chap password cipher 654321
3、
R1
[r1]int Tunnel 0/0/0
[r1-Tunnel0/0/0]ip address 5.5.5.1 255.255.255.0
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp
[r1-Tunnel0/0/0]source 15.0.0.1
华为设备PPP协议(RAP/PAP/CHAP)认证配置与TunnelGRE隧道设置示例
本文详细描述了在华为设备上配置PPP协议(包括RADIUS主认证方使用PAP和CHAP对被认证方进行认证),以及创建GRE隧道的过程。
1095





