SR66/SR66X系列路由器password-recovery功能的应用
注:SR66/SR66X系列路由器R3101及以上版本支持此功能。
一、在系统视图下,使用password-recovery enable命令用来使能密码恢复功能(此功能默认使能)。使用undo password-recovery enable命令用来关闭密码恢复功能。
二、当用户口令丢失时,如果使能了密码恢复功能,用户可以在保留原有配置文件的情况下重新设置用户口令。如果关闭了密码恢复功能,用户只可以恢复出厂配置,系统将自动删除主用和备用的配置文件。对于安全性要求较高的用户,关闭密码恢复功能可以有效地保护设备配置文件信息不被未认证用户获取。三、应用举例:
用户A拥有数台SR66设备。为了保证设备配置安全,用户A关闭了设备的telnet功能,并设置了console密码,他人无法通过console登录设备查看配置。
潜入者B进入客户机房后,对SR66进行了断电重启,进入BootWare,选择“跳过当前配置”,并再次启动设备,使用display save-configuration命令窃取到了设备的配置。怎样防止潜入者B的这种行为呢?
1、R26XX以及之前的版本,可以设置BootWare密码来防范这种行为,潜入者B在无法进入BootWare的情况下,不能进行进一步窃取操作。
2、R3101以及之后的版本,取消了BootWare密码,任何人断电重启设备后,都可以通过console进入BootWare。若用户A事先配置了关闭password-recovery功能:
[SR66]undo password-recovery enable
The command will disable the password recovery function. Continue? [Y/N]:Y
[SR66]save随后潜入者B断电重启了设备,并进入了BootWare:
……
Press Ctrl+B to enter extended boot menu...
BootWare password: Not required. Please press Enter to continue.
Password recovery capability is disabled. //系统提示:密码恢复功能不生效
Note: The current operating device is cfa0
Enter < Storage Device Operation > to select device.==================<EXTEND-BOOTWARE MENU>=======================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
=================================================================Ctrl+Z: Access EXTEND-ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 6 //选择跳过当前配置,提示失败
Password recovery capability is disabled. To perform this operation, first
enable the password recovery capability using the password-recovery enable
command in CLI.===================<EXTEND-BOOTWARE MENU>======================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
=================================================================
Ctrl+Z: Access EXTEND-ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 8 //选择清空Super密码,提示失败
Password recovery capability is disabled. To perform this operation, first
enable the password recovery capability using the password-recovery enable
command in CLI.选择<5>恢复出厂设置。恢复后,设备使用的主用、备用配置文件被删除,使用默认配置启动。
这样就避免了潜入者B窃取设备配置的企图。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作