beautypg.com

Software upgrade configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 158

background image

10-14

To do…

Use the command…

Remarks

Display the patch information

display patch information

Available in any view

Software Upgrade Configuration Example

Immediate Upgrade Configuration Example (Distributed Device)

Network requirements

z

As shown in

Figure 10-7

, the current software version is soft-version1, and Boot ROM version is

bootrom-version1 for the device. Immediately upgrade the software version and Boot ROM

version of the device to soft-version2 and bootrom-version2 respectively through remote

operations.

z

The latest applications soft-version2.app and bootrom-version2.btm are both saved in the aaa

directory of the FTP server.

z

The IP address of the device is 1.1.1.1/24, the IP address of the FTP server is 2.2.2.2/24, and the

device and the FTP server can reach each other.

z

A user has logged in to the device via Telnet and the user and device can reach each other.

Figure 10-7 Network diagram for immediate upgrade

FTP Client

FTP Server

User

Telnet

Device

1.1.1.1/24

2.2.2.2/24

Internet

Configuration procedure

z

Configuration on the FTP server (Configurations may vary with different types of servers)

# Enable the FTP server.

system-view

[FTP-Server] ftp server enable

# Set the FTP username to aaa and password to hello.

[FTP-Server] local-user aaa

[FTP-Server-luser-aaa] password cipher hello

# Configure the user to have access to the aaa directory.

[FTP-Server-luser-aaa] service-type ftp

[FTP-Server-luser-aaa] authorization-attribute work-directory flash:/aaa