#Configure the IP address of VLAN-interface 1 of the switch as 192.168.1.2/24, and specify the default gateway as 192.168.1.1.

<Switch> ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1

#Download the software package file SwitchV1910.bin from the TFTP server to the switch, and upgrade the system software image in the package.

<Switch> upgrade 192.168.10.1 SwitchV1910.bin runtime File will be transferred in binary mode

Downloading file from remote TFTP server, please wait.../ TFTP: 10262144 bytes received in 71 second(s)

File downloaded successfully.

#Download the software package file SwitchV1910.bin from the TFTP server to the switch, and upgrade the Boot ROM image.

<Switch> upgrade 192.168.10.1 SwitchV1910.bin bootrom

The file flash:/SwitchV1910.bin exists. Overwrite it? [Y/N]:y Verifying server file...

Deleting the old file, please wait...

File will be transferred in binary mode

Downloading file from remote TFTP server, please wait.../ TFTP: 10262144 bytes received in 61 second(s)

File downloaded successfully. BootRom file updating finished!

# Reboot the switch.

<Switch> reboot

After getting the new image file, reboot the switch to have the upgraded image take effect.

27