zoukankan      html  css  js  c++  java
  • 路由器使用PPP协议互联

     AR1配置

    local-user huawei password cipher %$%$6t='8KiYDPz28R<zS4U3}rhP%$%$
     local-user huawei service-type ppp
    在AR1上配置地址,CHAP认证和给对端分配地址。
    interface Serial4/0/0
     link-protocol ppp
     ppp authentication-mode chap 
     remote address 12.1.1.2 
     ip address 12.1.1.1 255.255.255.0 

    AR2配置

    在AR2上配置CHAT认证及用自动方式获取IP地址。
    interface Serial4/0/0
     link-protocol ppp
     ppp chap user huawei
     ppp chap password cipher %$%$n9BmS2i/|)B!n9&fnVCK,";3%$%$
     ip address ppp-negotiate
    [AR2]dis ip interface brief 
    *down: administratively down
    ^down: standby
    (l): loopback
    (s): spoofing
    The number of interface that is UP in Physical is 2
    The number of interface that is DOWN in Physical is 4
    The number of interface that is UP in Protocol is 2
    The number of interface that is DOWN in Protocol is 4
    
    Interface                         IP Address/Mask      Physical   Protocol  
    GigabitEthernet0/0/0              unassigned           down       down      
    GigabitEthernet0/0/1              unassigned           down       down      
    GigabitEthernet0/0/2              unassigned           down       down      
    NULL0                             unassigned           up         up(s)     
    Serial4/0/0                       12.1.1.2/32          up         up        
    Serial4/0/1                       unassigned           down       down  
    [AR2]dis int s4/0/0
    Serial4/0/0 current state : UP
    Line protocol current state : UP
    Last line protocol up time : 2020-05-28 19:09:39 UTC-08:00
    Description:HUAWEI, AR Series, Serial4/0/0 Interface
    Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
    Internet Address is negotiated, 12.1.1.2/32
    Link layer protocol is PPP
    LCP opened, IPCP opened
    Last physical up time   : 2020-05-28 19:06:23 UTC-08:00
    Last physical down time : 2020-05-28 19:06:20 UTC-08:00
    Current system time: 2020-05-28 19:20:35-08:00
    Physical layer is synchronous, Virtualbaudrate is 64000 bps
    Interface is DTE, Cable type is V11, Clock mode is TC
    Last 300 seconds input rate 6 bytes/sec 48 bits/sec 0 packets/sec
    Last 300 seconds output rate 2 bytes/sec 16 bits/sec 0 packets/sec
    
    Input: 176 packets, 5656 bytes
      Broadcast:              0,  Multicast:              0
      Errors:                 0,  Runts:                  0
      Giants:                 0,  CRC:                    0
    
      Alignments:             0,  Overruns:               0
      Dribbles:               0,  Aborts:                 0
      No Buffers:             0,  Frame Error:            0
    
    Output: 177 packets, 2142 bytes
      Total Error:            0,  Overruns:               0
      Collisions:             0,  Deferred:               0
        Input bandwidth utilization  :    0%
        Output bandwidth utilization :    0%
  • 相关阅读:
    前端学习笔记2017.6.12 DIV布局网页
    前端学习笔记2017.6.12 HTML的结构以及xhtml、html、xml的区别
    前端学习笔记2017.6.21-html和浏览器的关系以及开发工具
    前端学习笔记2017.6.21-html是个什么东西
    前端学习笔记2017.6.21-引入JS文件的方法
    学习一下阿里技术文档的写作方法
    PS中图层混合模式的计算方法
    3dsmax里面的喷射器spray和超级喷射器superspray是个什么东西
    案例14-实现注册功能和激活功能
    012-MD5Utils工具类模板
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12983342.html
Copyright © 2011-2022 走看看