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%
  • 相关阅读:
    PSNR计算
    Latex中的(左边有大括号的)方程组解决方案汇总
    CS (Compressive sensing, 压缩传感)
    OpenCV 2.3.0 编译错误之 file INSTALL cannot find opencv_ffmpeg230d.dll(无法找到opencv_ffmpeg230d.dll)
    Visual Studio 2008 编译程序时的 mt.exe 返回错误
    fontDialog,colorDialog,saveDialog改变字体大小,颜色,以后保存图片文件实例
    Lambda入门示例实例
    C#接口入门基础知识复习
    C#,visual studio 2010中实现最简单DragDrop实例
    抽象类实现条件参数必须和抽象类中的一样
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12983342.html
Copyright © 2011-2022 走看看