分类:
2008-10-16 19:54:20
Directory of flash: 2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA 4 drwx 3776 Mar 01 1993 01:23:24 html 66 -rwx 130 Jan 01 1970 00:01:19 env_vars 68 -rwx 1296 Mar 01 1993 06:55:51 config.text1728000 bytes total (456704 bytes free)
7、switch>;rename flash:config.text flash:config.old
把配置文件更名后,在switch>;下键入boot引导设备,在系统开始进行设置的时候,按N键,设置完成后,出现如下信息:
Continue with the configuration dialog? [yes/no] :
键入n
8、出现switch>;提示符后,键入en进入配置模式
9、重新命名配置文件:
10、拷贝配置文件到内存中
Switch# copy flash:config.text system:running-config
Destination filename [running-config]? (press Return)
按回车键,将配置文件重新装入。
11、改变口令
switch#config terminal
switch(config)#enable password
12、将当前配置写入配置文件
switch(config)#write mem