• 路由器使用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%
  • 相关阅读:
    独立思考模型与经验-仅供参考
    独立思考与输入、吸收
    基于事实和全方位思考
    独立思考有四个层次-知识体系
    思维框架
    阅读、思考与吸收
    思考与阅读
    博学之,审问之,慎思之,明辨之,笃行之:思考与成长
    如何成为有想法的人?如何培养独立思考的能力?
    人的本质--以人为本--思考-认识世界、改造世界
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12983342.html
Copyright © 2020-2023  润新知