码迷,mamicode.com
首页 > Web开发 > 详细

Telnet登入cisco router 1800

时间:2017-02-28 10:38:50      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:ted   esc   comm   building   name   dial   word   int   nec   

 

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

Telnet登入cisco router 1800

标签:ted   esc   comm   building   name   dial   word   int   nec   

原文地址:http://www.cnblogs.com/k98091518/p/6477700.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!