H3C Low-End and Mid-Range Ethernet Switches Configuration Examples(V1.01)

HomeSupportSwitchesH3C S5500 Switch SeriesConfigure & DeployConfiguration ExamplesH3C Low-End and Mid-Range Ethernet Switches Configuration Examples(V1.01)
Table of Contents
Related Documents
36-Remote Upgrade Configuration Guide
Title Size Download
36-Remote Upgrade Configuration Guide 60.15 KB

Configuring Remote Upgrade (on a Distributed Switch)

Network Diagram

Figure 1-1 Network diagram for remote upgrade

 

Networking and Configuration Requirements

l          Device acts as an FTP client. The application aaa.app, including host software upgrading files and Boot ROM upgrading files, is saved under the aaa directory of the FTP Server.

l          The IP address of a VLAN interface on the device is 1.1.1.1/24; the IP address of the FTP Server is 2.2.2.2/24; the FTP server is reachable.

l          User has logged in to Device via Telnet and performs the following operations: download applications from the FTP Server, and realize remote upgrade using the command lines. Ensure that a route exists between User and Device.

Applicable Product Matrix

Product Series

Software version

Hardware version

S7500E Series Ethernet Switches

Release 6100

Release 6300

All versions

 

Configuration Procedure

1)        Configuration on FTP Server (Note that the configurations may vary with different types of servers)

# Enable FTP Server.

<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] work-directory flash:/aaa

2)        Configuration on Device

# Input the following commands in user view, and log in to the FTP Server.

<Device> ftp 2.2.2.2

Trying 2.2.2.2 ...

Press CTRL+K to abort

Connected to 2.2.2.2.

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(2.2.2.2:(none)):aaa

331 Give me your password, please

Password:

230 Logged in successfully

[ftp]

# Download file aaa.app on FTP Server to the Flash of Device.

[ftp] get aaa.app

# Close the FTP connection, and return to user view.

[ftp] bye

<Device>

# Upgrade the Boot ROM file of the line processing unit (LPU) (suppose that the LPU resides in slot 2)

<Device> bootrom update file aaa.app slot 2

# Upgrade the Boot ROM file of the active main board (AMB).

<Device> bootrom update file aaa.app slot 0

# Specify the application program for the next boot on the AMB which resides in slot 0.

<Device> boot-loader file aaa.app slot 0 main

# If the AMB of Device operates in active-standby mode, you need to upgrade the program of the standby main board (SMB) as well. Specify the application program for the next boot on the SMB, and upgrade the Boot ROM file. Suppose that the SMB resides in slot 1, execute the following commands:

<Device> copy aaa.app slot1#flash:/

<Device> boot-loader file slot1#flash:/aaa.app slot 1 main

<Device> bootrom update file slot1#flash:/aaa.app slot 1

# Reboot Device. The application program is upgraded now.

<Device> reboot

Complete Configuration

l          Configuration on FTP Server

#

 ftp server enable

#

local-user aaa

 password cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!

 work-directory flash:/aaa

 service-type ftp

Configuration Guidelines

Follow these guidelines when configuring remote upgrade:

l          For the online upgrade, uploading of files can be realized via TFTP as well;

l          Besides online upgrade, you can also upgrade software and Boot ROM using the Boot ROM menu.

l          The display may vary with servers when the client logs in.

Configuring Remote Upgrade (on a Centralized Switch)

Network Diagram

Figure 1-2 Network diagram for remote upgrade

 

Networking and Configuration Requirements

l          Device acts as an FTP client. The application aaa.bin and Boot ROM program boot.btm are saved under the aaa directory of the FTP Server.

l          The IP address of a VLAN interface on the device is 1.1.1.1/24; the IP address of the FTP Server is 2.2.2.2/24; the FTP server is reachable.

l          User has logged in to Device via Telnet and performs the following operations: download applications from the FTP Server, and realize remote upgrade using the command lines. Ensure that a route exists between User and Device.

Applicable Product Matrix

Product series

Software version

Hardware version

S3610 Series Ethernet Switches

Release 5301

Release 5303

All versions

S5510 Series Ethernet Switches

Release 5301

Release 5303

All versions

S5500-SI Series Ethernet Switches

Release 1207

All versions except S5500-20TP-SI

Release 1301

S5500-20TP-SI

S5500-EI Series Ethernet Switches

Release 2102

All versions

S3500-EA Series Ethernet Switches

Release 5303

All versions

 

Configuration Procedure

1)        Configuration on FTP Server (Note that the configurations may vary with different types of servers)

# Enable FTP Server.

<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] work-directory flash:/aaa

2)        Configuration on Device

# Input the following commands in user view, and log in to the FTP Server.

<Device> ftp 2.2.2.2

Trying 2.2.2.2 ...

Press CTRL+K to abort

Connected to 2.2.2.2.

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(2.2.2.2:(none)):aaa

331 Give me your password, please

Password:

230 Logged in successfully

[ftp]

# Download files aaa.bin and boot.btm on FTP Server to the Flash of Device.

[ftp] get aaa.bin

[ftp] get boot.btm

# Close the FTP connection, and return to user view.

[ftp] bye

<Device>

# Upgrade the Boot ROM file of Device.

<Device> bootrom update file boot.btm

# Specify the application program for the next boot on Device.

<Device> boot-loader file aaa.bin main

# Reboot Device. The application program is upgraded now.

<Device> reboot

Complete Configuration

l          Configuration on FTP Server

#

 ftp server enable

#

local-user aaa

 password cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!

 work-directory flash:/aaa

 service-type ftp

Configuration Guidelines

Follow these guidelines when configuring remote upgrade:

l          For the online upgrade, uploading of files can be realized via TFTP as well;

l          Besides online upgrade, you can also upgrade software and Boot ROM using the Boot ROM menu.

l          The display may vary with servers when the client logs in.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网