《华为路由器二层链路ppp协议pap认证配置.docx》由会员分享,可在线阅读,更多相关《华为路由器二层链路ppp协议pap认证配置.docx(2页珍藏版)》请在课桌文档上搜索。
1、华为路由器二层链路PPP协议pap认证配置AR1Serial 4V0 AR2认证万 获取IP地址被认证万提供ip地址认证方命令Huaweiaaa进入aaa模式Huawei-aaalocal-usertompasswordcipher123仓J建用户Huawei-aaalocal-usertomservice-typeppp设置用户类型为PPPHuawei-aaaints400进入端口Huawei-Serial4/0/0link-protocolPPP/设置封装协议为PPPHuawei-Serial4/0/0authentication-modePaP/设置认证方式为PaPHuawei-Seri
2、al4/0/0ppppaplocal-usertompasswordcipher123绑定账号和密码Huawei-Serial400ipaddressppp-negotiate/开启:IP协商,通过协商模式获取工P地址被认证方命令Huaweiints400Huawei-Serial4/0/0link-protocolppp/设置封装协议为PPPHuawei-Serial400pppauthentication-modepap/设置认证方式为PaPHuawei-Serial4/0/0PaPlocal-usertompasswordcipher123Huawei-Serial400ipaddres
3、s10.1.1.224/自身ip地址Huawei-Serial400remoteaddress10.1.1.1/给对端ip地址测试:AR2lHuawe-Serial40(JJPleasecheckwhethersystemdatahasbeenchanged,andsavedataintimeConfigurationconsoletimeout,pleasepressanykeytologonping 10.1.1.1PING 10.1.1.1: 56 ,ReplyReplyReplyReplyReplyfrom from from from from1010101010data bytes
4、, press CTRL_C to break1:1:1:1:1:bytes=56 bytes=56 bytes56 bytes=56 bytes=56Sequence=I Sequence=2 Sequence3 Sequence=4 Sequence=5ttl=255 ttl=255 ttl-255 ttl-255 ttl=255time=50 time=30 time10 time30 time=20ms ms ms ms msstatistics5packet(s)transmitted5packet(s)received0.00%packetlossround-tripmin/avg/max=10/28/50ms