迈普路由器重置密码
2015-09-15 15:00
295 查看
router>
00:13:43: %SYS-5-LOGIN_OK: (tty0) is entered by client () OK
router>en
password:
Monitor version 1.15 is Booting (press ctrl+c to enter monitor mode) ....
Welcome to Monitor v1.15
Monitor:>dir
Listing Directory /flash:
-rwxrwxrwx 1 0 0 3097 Jan 1 1980 history
drwxrwxrwH 1 0 0 2048 Jan 1 1980 mpssh/
drwxrwxrwx 1 0 0 2048 Jan 1 1980 snmp/
-rwxrwxrwx 1 0 0 102281 Jan 1 1980 logging
-rwxrwxrwx 1 0 0 12 Jan 1 1980 PKISTORE
-rwxrwxrwx 1 0 0 2261 Jan 1 1980 startup
-rwxrwxrwx 1 0 0 9677189 Dec 22 2011 rp8-i-6.2.86.bin
-rwxrwxrwx 1 0 0 4 Jan 1 1980 secret
Monitor:>del startup
WARNING:
The Data of file '/flash/startup' will be lost! if OS is deleted,the system will
hangup!
Please confirm to continue?(Y/N)y
Deleting... OK!
Monitor:>
Monitor version 1.15 is Booting (press ctrl+c to enter monitor mode) .....
Now start loading system and application programs,
Loading system and application programs, please wait for a while...
Use boot parameter 0:
Loading file /flash/rp8-i-6.2.86.bin ...
Uncompressing MPROS image
####################################################################################
####################################################################################
####################################################################################
####################################################################################
##################################################################### OK
Starting at 0x200000...
router>
00:01:22: %SYS-5-LOGIN_OK: (tty0) is entered by client () OK
router>en
router#conf t
router(config)#
00:02:02: %SYS-5-CONFIG_IN: Enter configuration commands, one per line. End with
CNTL+Z.
router(config)#enable password 123456
router(config)#interface fastethernet 0
router(config-if-fastethernet0)#ip address <外网地址> <掩码>
router(config-if-fastethernet0)#exit
router(config)#end
00:05:10: %SYS-5-CONFIG_OUT: Configured from console by user on console ()
router#wr
Are you sure to overwrite /flash/startup (Yes|No)?y
Building Configuration...done
Write to startup file ... OK
router#exit
router>en
password:
router#
router#conf t
router(config)#
00:09:16: %SYS-5-CONFIG_IN: Enter configuration commands, one per line. End with
CNTL+Z.
router(config)#ip access-list extended haixun
router(config-ext-nacl)# 10 permit ip any any
router(config-ext-nacl)# 20 remark acl@允许所有内部主机地址进行地址转换!
router(config-ext-nacl)# exit
router(config)#interface fastethernet0
router(config-if-fastethernet0)# ip nat outside
router(config-if-fastethernet0)# exit
router(config)#
router(config)#interface fastethernet1
router(config-if-fastethernet1)# ip address <路由地址> <掩码>
router(config-if-fastethernet1)# ip nat inside
router(config-if-fastethernet1)# exit
router(config)#ip nat inside source list haixun interface fastethernet0 overload
router(config)#ip route 0.0.0.0 0.0.0.0 118.112.183.129
router(config)#ip route 192.168.1.0 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.16 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.32 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.48 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.64 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.96 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.112 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.128 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.144 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.160 255.255.255.224 192.168.100.250
router(config)#ip route 192.168.1.192 255.255.255.248 192.168.100.250
router(config)#ip route 192.168.1.200 255.255.255.248 192.168.100.250
router(config)#ip route 192.168.3.0 255.255.255.0 192.168.100.250
router(config)#ip dhcp pool dhcphaixun
router(dhcp-config)# range 192.168.1.2 192.168.1.254 255.255.255.0
router(dhcp-config)# default-router 192.168.1.1
router(dhcp-config)# dns-server 61.139.2.69
router(dhcp-config)# exit
router(config)#end
00:13:13: %SYS-5-CONFIG_OUT: Configured from console by user on console ()
router#show run
00:13:43: %SYS-5-LOGIN_OK: (tty0) is entered by client () OK
router>en
password:
Monitor version 1.15 is Booting (press ctrl+c to enter monitor mode) ....
Welcome to Monitor v1.15
Monitor:>dir
Listing Directory /flash:
-rwxrwxrwx 1 0 0 3097 Jan 1 1980 history
drwxrwxrwH 1 0 0 2048 Jan 1 1980 mpssh/
drwxrwxrwx 1 0 0 2048 Jan 1 1980 snmp/
-rwxrwxrwx 1 0 0 102281 Jan 1 1980 logging
-rwxrwxrwx 1 0 0 12 Jan 1 1980 PKISTORE
-rwxrwxrwx 1 0 0 2261 Jan 1 1980 startup
-rwxrwxrwx 1 0 0 9677189 Dec 22 2011 rp8-i-6.2.86.bin
-rwxrwxrwx 1 0 0 4 Jan 1 1980 secret
Monitor:>del startup
WARNING:
The Data of file '/flash/startup' will be lost! if OS is deleted,the system will
hangup!
Please confirm to continue?(Y/N)y
Deleting... OK!
Monitor:>
Monitor version 1.15 is Booting (press ctrl+c to enter monitor mode) .....
Now start loading system and application programs,
Loading system and application programs, please wait for a while...
Use boot parameter 0:
Loading file /flash/rp8-i-6.2.86.bin ...
Uncompressing MPROS image
####################################################################################
####################################################################################
####################################################################################
####################################################################################
##################################################################### OK
Starting at 0x200000...
router>
00:01:22: %SYS-5-LOGIN_OK: (tty0) is entered by client () OK
router>en
router#conf t
router(config)#
00:02:02: %SYS-5-CONFIG_IN: Enter configuration commands, one per line. End with
CNTL+Z.
router(config)#enable password 123456
router(config)#interface fastethernet 0
router(config-if-fastethernet0)#ip address <外网地址> <掩码>
router(config-if-fastethernet0)#exit
router(config)#end
00:05:10: %SYS-5-CONFIG_OUT: Configured from console by user on console ()
router#wr
Are you sure to overwrite /flash/startup (Yes|No)?y
Building Configuration...done
Write to startup file ... OK
router#exit
router>en
password:
router#
router#conf t
router(config)#
00:09:16: %SYS-5-CONFIG_IN: Enter configuration commands, one per line. End with
CNTL+Z.
router(config)#ip access-list extended haixun
router(config-ext-nacl)# 10 permit ip any any
router(config-ext-nacl)# 20 remark acl@允许所有内部主机地址进行地址转换!
router(config-ext-nacl)# exit
router(config)#interface fastethernet0
router(config-if-fastethernet0)# ip nat outside
router(config-if-fastethernet0)# exit
router(config)#
router(config)#interface fastethernet1
router(config-if-fastethernet1)# ip address <路由地址> <掩码>
router(config-if-fastethernet1)# ip nat inside
router(config-if-fastethernet1)# exit
router(config)#ip nat inside source list haixun interface fastethernet0 overload
router(config)#ip route 0.0.0.0 0.0.0.0 118.112.183.129
router(config)#ip route 192.168.1.0 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.16 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.32 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.48 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.64 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.96 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.112 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.128 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.144 255.255.255.240 192.168.100.250
router(config)#ip route 192.168.1.160 255.255.255.224 192.168.100.250
router(config)#ip route 192.168.1.192 255.255.255.248 192.168.100.250
router(config)#ip route 192.168.1.200 255.255.255.248 192.168.100.250
router(config)#ip route 192.168.3.0 255.255.255.0 192.168.100.250
router(config)#ip dhcp pool dhcphaixun
router(dhcp-config)# range 192.168.1.2 192.168.1.254 255.255.255.0
router(dhcp-config)# default-router 192.168.1.1
router(dhcp-config)# dns-server 61.139.2.69
router(dhcp-config)# exit
router(config)#end
00:13:13: %SYS-5-CONFIG_OUT: Configured from console by user on console ()
router#show run
相关文章推荐
- cocos基础教程(4)基础概念介绍
- eclipse工程转maven工程出错的解决办法
- TextView中换行符(\\n)显示不正常的问题
- JS+CSS实现带有碰撞缓冲效果的竖向导航条代码
- Ubuntu adb devices :???????????? no permissions 解决方法
- 互联网项目发布环境:测试、回归、预发布、灰度发布、上生产
- HDU 5437 Alisha’s Party
- Java 项目Building之后发现的Blocker和Critical
- 策略模式
- 关于创建String对象过程的内存分配
- 最短路径问题1
- HDU 5441 Travel(离线操作,并查集)
- 浅谈JavaScript中的string拥有方法的原因
- web sevice 生成代理类及使用
- HDU 5441 Travel(离线操作,并查集)
- 不耐烦,不淡定,不会好好说话,为何如今遍地戾气?
- centos7 关闭firewall安装iptables并配置
- php后门的编写
- Web.xml配置详解之listener
- js打印对象 很有用的一个函数