恢复出厂设置

删除配置文件到回收站

<nanjing5500>delete startup.cfg 

..

Delete flash:/startup.cfg?[Y/N]:y


清空回收站

<nanjing5500>reset recycle-bin 

Clear flash:/~/startup.cfg ?[Y/N]:y

Clearing files from flash may take a long time. Please wait...

......


重启交换机

<nanjing5500>reboot

 Start to check configuration with next startup configuration file, please wait.........DONE!

 This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]:n          不保存当前配置。

 This command will reboot the device. Continue? [Y/N]:y

#Apr 26 20:41:33:909 2000 nanjing5500 DEVM/1/REBOOT: 



2、通过其它设备的配置文件来恢复此交换机的配置

删除当前系统配置文件

>delete/unreserved startup.cfg   

 

创建用户,保证用户可以通过console和telnet登录设备,可以通过ftp进行上传配置文件

 local-user test

password cipher,2$4:D>a!)B,YWX*NZ55OA!!

 authorization-attribute level 3

 service-type telnet terminal

 service-type ftp