NOTE:A TFTP server must be . the network and the switch software must be accessible by the TFTP server before attempting to download the switch software by TFTP.
1、Connect to the Serial Port (default setting 9600 band,8 data bits,no start bits,1 stop bits) and enter the CLI mode. The following prompt is displayed:
console>
2、Ensure that an IP address is assigned to at least .e port . the switch. Use the following commands to assign an IP address to VLAN 1 (this example users IP address 172.20.34.20).
console> enable
console> config
console> interface vlan 1
console(config-if)# ip address 172.20.34.100 /24 (如果不和TFTP server在一个网段,需要在交换机上配置网关)
console(config-if)# exit
console#
3、Enter console # copy tftp://{TFTP server IP address}/{file name} image to copy the software to the switch. The software is copied but does not become active until the file is selected as the active image file and the switch is reset. The following is an example of the information that is displayed:
console# copy tftp://172.20.34.20/PowerConnect_54xx-10035.ros image 01-Jan-2000 01:03:45 %COPY-I-FILECPY: Files Copy - source URL tftp://10.10.10.101/PowerConnect_54xx-10035.ros destination URL flash://image !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Copy: 3811556 bytes copied in 00:02:24 [hh:mm:ss]
4. Enter console#copy tftp://{tftp address}/{file name} boot to copy the boot software to the switch. The boot software is copied but does not become active untilthe switch is reset. The following is an example of the information that is displayed:
console# copy tftp://172.20.34.20/PowerConnect_54xx_boot-1006.rfb boot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!! The copy operation was completed successfully Copy: 524304 bytes copied in 00:00:12 [hh:mm:ss] console
5.Enter console# show bootvar to verify which image is active. The following is anexample of the information which is displayed
console# show bootvar Images currently available . the FLASH image-1 active (selected for next boot) image-2 not active
console#
6. When new software is downloaded, it goes to the “not active” image. Since image-2 has the new software (the not active image), enter console# boot system image-2to boot from image2
console# boot system image-2
7. Type reload. The following message is displayed:
console# reload
This command will reset the whole system and disconnect your current session. Do you want to continue (y/n)[n]?
8. Type Y. The switch reboots.
注:PowerConnect_54xx-10035.ros 和PowerConnect_54xx_boot-1006.rfb这两个文件一定要放到FTTP server(172.20.34.20)的根目录中,并且TFTP server允许上传。
转载于:https://blog.51cto.com/arthur/89426