1、 关机重启
2、 当看到“Loadingsystem software”字样时,快速按“Ctrl +]”
3、 系统进入boot模式
switch(boot)#configure terminal
switch(boot-config)# admin-password cisco@123
WARNING! Remote Authentication for loginthrough console has been
disabled
switch(boot-config)# exit
switch(boot)# dir bootflash:
switch(boot)# load bootflash:n5000-s1-dk9.5.2.7.bin
4、进入switch(boot)#
5、修改admin密码
switch(boot)# configure terminal
switch(boot-config)# admin-password cisco@123
WARNING! Remote Authentication for login through console has been
disabled
switch(boot-config)# exit
6、加载系统镜像
switch(boot)# dir bootflash:
switch(boot) # load bootflash:n5000-s1-dk9.5.2.7.bin
7、使用admin新密码进入系统
switch login: admin
Password: cisco@123
8、(可选)保险起见,再新建一个本地帐号
switch# configure terminal
switch(config)# username admin password cisco@123 rolenetwork-admin
switch(config)# exit
9、保存系统配置(需等系统稳定下来)
switch# copy running-config startup-config
10、系统reload重启
2、 当看到“Loadingsystem software”字样时,快速按“Ctrl +]”
3、 系统进入boot模式
switch(boot)#configure terminal
switch(boot-config)# admin-password cisco@123
WARNING! Remote Authentication for loginthrough console has been
disabled
switch(boot-config)# exit
switch(boot)# dir bootflash:
switch(boot)# load bootflash:n5000-s1-dk9.5.2.7.bin
4、进入switch(boot)#
5、修改admin密码
switch(boot)# configure terminal
switch(boot-config)# admin-password cisco@123
WARNING! Remote Authentication for login through console has been
disabled
switch(boot-config)# exit
6、加载系统镜像
switch(boot)# dir bootflash:
switch(boot) # load bootflash:n5000-s1-dk9.5.2.7.bin
7、使用admin新密码进入系统
switch login: admin
Password: cisco@123
8、(可选)保险起见,再新建一个本地帐号
switch# configure terminal
switch(config)# username admin password cisco@123 rolenetwork-admin
switch(config)# exit
9、保存系统配置(需等系统稳定下来)
switch# copy running-config startup-config
10、系统reload重启