初始化并重新加载路由器和交换机

初始化并重新加载路由器和交换机

第 1 步: 初始化并重新加载路由器。
a. 通过控制台连接到路由器并启用特权 EXEC 模式。
Router#
b. 键入 erase startup-config 命令从 NVRAM 中删除启动配置。
Router# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
c. 发出 reload 命令,删除内存中的旧配置。 当提示是否 Proceed with reload 时,按 Enter 确认重新加载。
(按其他任意键中止重新加载。)
Router# reload
Proceed with reload? [confirm]
*Nov 29 18:28:09.923: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
注意: 系统可能会提示您在重新加载路由器之前保存运行配置。 键入 no 并按 Enter 键。
System configuration has been modified. Save? [yes/no]: no
d. 重新加载路由器后,系统会提示您进入初始配置对话框。 输入 no 并按 Enter 键。
Would you like to enter the initial configuration dialog? [yes/no]: no
e. 系统将提示您终止自动安装。 键入 yes,然后按 Enter 键。
Would you like to terminate autoinstall? [yes]: yes
第 2 步: 初始化并重新加载交换机。
a. 登录交换机控制台并进入特权 EXEC 模式。
Switch> enable
Switch#
b. 使用 show flash 命令来确定交换机上是否创建了 VLAN。
Switch# show flash
Directory of flash:/
2 -rwx 1919 Mar 1 1993 00:06:33 +00:00 private-config.text
3 -rwx 1632 Mar 1 1993 00:06:33 +00:00 config.text
4 -rwx 13336 Mar 1 1993 00:06:33 +00:00 multiple-fs
5 -rwx 11607161 Mar 1 1993 02:37:06 +00:00 c2960-lanbasek9-mz.150-2.SE.bin
6 -rwx 616 Mar 1 1993 00:07:13 +00:00 vlan.dat
32514048 bytes total (20886528 bytes free)
Switch#
c. 如果在闪存中发现 vlan.dat 文件,请将其删除。
Switch# delete vlan.dat
Delete filename [vlan.dat]?
d. 系统将提示您检验文件名。 此时您可以更改文件名,或者如果文件名输入正确,直接按 Enter 键。
e. 系统将提示您确认删除此文件。 按 Enter 键确认删除。 (按其他任意键中止删除。)
Delete flash:/vlan.dat? [confirm]
Switch#
f. 使用 erase startup-config 命令从 NVRAM 中删除启动配置文件。 系统会提示您确认删除配置文件。 按
Enter 键确认清除此文件。 (按其他任意键中止此操作。)
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
g. 重新加载交换机以删除内存中所有的旧配置信息。 系统将提示您确认重新加载交换机。 按 Enter 键继续重
新加载。 (按其他任意键中止重新加载。)
Switch# reload
Proceed with reload? [confirm]
注意:系统可能会提示您在重新加载交换机之前保存运行配置。 键入 no 并按 Enter 键。
System configuration has been modified. Save? [yes/no]:no
  • 1
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值