zoukankan      html  css  js  c++  java
  • 神州数码广域网PPP封装CHAP认证配置

    实验要求:掌握PPP封装协议下的CHAP认证

    拓扑如下

    R1

    enable  进入特权模式

    config  进入全局模式

    hostname R1  修改名称

    interface s0/1  进入端口

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    encapsulation ppp  封装端口为PPP

    exit  返回上一级

    username R1 password 978285  创建本地用户

    aaa authentication ppp default local  使用本地用户进行认证

    interface s0/1  进入端口

    ppp authentication chap  启动chap认证

    ppp chap hostname R1  发送用户名

    R2

    enable  进入特权模式

    config  进入全局模式

    hostname R2  修改名称

    interface s0/2  进入端口

    ip address 192.168.1.2 255.255.255.0  修改IP地址

    physical-layer speed 64000  设置同步时钟

    encapsulation ppp  封装端口为PPP

    exit  返回上一级

    username R1 password 978282  创建本地用户

    aaa authentication ppp default local  使用本地用户进行认证

    interface s0/2  进入端口

    ppp authentication chap  启动chap认证

    ppp chap hostname R2  发送用户名

    相关命令

    ppp authentication chap     启动chap认证

    ppp chap hostname [用户名]   发送用户名

  • 相关阅读:
    Steps to Writing Well----Reading Notes
    How to Improve Reading Skills
    Requirement-Driven Linux Shell Programming
    Linux tar command usage
    MVC和MVVM模型
    js中特殊的宏任务
    js 超浓缩 双向绑定
    JavaScript 中的遍历详解
    多段动画整合为一个动画的思路
    Js事件循环(Event Loop)机制
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9322212.html
Copyright © 2011-2022 走看看