zoukankan      html  css  js  c++  java
  • Telnet登入cisco router 1800

     

    Login to Router and change to privileged mode
    c:>telnet 192.168.6.1
    Trying 192.168.6.1...
    Connected to 192.168.6.1.
    Escape character is '^]'.
    User Access Verification
    Username: admin
    Password:
    MC1812>
    MC1812>enable
    Password:
    MC1812#
    At privileged mode, check and change to PPPoE password
    MC1812#sh run | inc pap
    ppp pap sent-username user1 password 7 12090404015A
    MC1812#
    MC1812#config t
    Enter configuration commands, one per line.  End with CNTL/Z.
    MC1812(config)#int dialer1
    MC1812(config-if)#ppp pap sent-username user2 password pass2
    MC1812(config-if)#end
    MC1812#
    MC1812#sh run | inc pap
    ppp pap sent-username user2 password 7 111918160440
    MC1812#
    At privileged mode, save settings
    MC1812#copy run start
    Destination filename [startup-config]?
    Building configuration...
    [OK]
    MC1812#
    At privileged mode, check and change NAT settings (如需要的話)
    HQ1812#sh run | inc source static
    ip nat inside source static tcp 192.168.1.16 21 223.255.154.242 21 extendable
    ip nat inside source static tcp 192.168.1.151 25 223.255.154.242 25 extendable
    ip nat inside source static tcp 192.168.1.151 53 223.255.154.242 53 extendable
    HQ1812#
    HQ1812#config t
    Enter configuration commands, one per line.  End with CNTL/Z.
    HQ1812(config)# ip nat inside source static tcp 192.168.1.123 1234 223.255.154.242 5678
    HQ1812(config)#end
    HQ1812#
    HQ1812#sh run | inc source static
    ip nat inside source static tcp 192.168.1.16 21 223.255.154.242 21 extendable
    ip nat inside source static tcp 192.168.1.151 25 223.255.154.242 25 extendable
    ip nat inside source static tcp 192.168.1.151 53 223.255.154.242 53 extendable
    ip nat inside source static tcp 192.168.1.5 1234 223.255.154.242 5678 extendable
  • 相关阅读:
    IntelliJ IDEA 常用快捷键和设置
    Code Project精彩系列(2)
    Code Project精彩系列(2)
    Code Project精彩系列(2)
    Apache和Tomcat区别
    Apache和Tomcat区别
    Apache和Tomcat区别
    如何在 GitHub 建立个人主页和项目演示页面
    如何在 GitHub 建立个人主页和项目演示页面
    如何在 GitHub 建立个人主页和项目演示页面
  • 原文地址:https://www.cnblogs.com/k98091518/p/6477700.html
Copyright © 2011-2022 走看看