Title | Size | Downloads |
---|---|---|
S9855_9825-CMW910-R9126P03.rar | 275.82 MB | |
H3C S9855_9825-CMW910-R9126P03 Release Notes (Software Feature Changes).pdf | 101.07 KB | |
H3C S9855_9825-CMW910-R9126P03 Release Notes.pdf | 504.85 KB |
|
H3C S9855_9825-CMW910-R9126P03 Release Notes |
|
|
Copyright © 2024 New H3C Technologies Co., Ltd. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd. The information in this document is subject to change without notice. |
Contents
Hardware and software compatibility matrix· 1
Upgrade restrictions and guidelines· 3
Software feature and command updates· 3
Operation changes in R9126P03· 4
Open problems and workarounds· 4
Resolved problems in R9126P03· 5
Appendix B Fixed security vulnerabilities· 10
R9126P03 Fixed security vulnerabilities· 10
Appendix C Upgrading software· 11
Startup configuration files· 11
Using TFTP to upgrade software· 11
Using FTP to upgrade software· 14
Upgrading from the BootWare menu· 18
Accessing the BootWare menu· 18
Using TFTP/FTP to upgrade software through an Ethernet port 20
Managing files from the BootWare menu· 21
Changing the type of a system software image· 22
Handling software upgrade failures· 23
List of tables
Table 2 Hardware and software compatibility matrix· 1
Table 4 S9855&S9825 series hardware features· 6
Table 5 Software features of the S9855&S9825 series· 7
Table 6 EXTENDED BOOT menu items· 19
Table 7 Image downloading parameters· 20
Introduction
This document describes the features, restrictions and guidelines, open problems, and workarounds for version R9126P03. Before you use this version on a live network, back up the configuration and test the version to avoid software upgrade affecting your live network.
Use this document in conjunction with H3C S9855_9825-CMW910-R9126P03 Release Notes (Software Feature Changes) and the documents listed in "Related documentation".
Version information
Version number
Comware software, Version 9.1.043, Release 9126P03.
Note: You can see the version number with the command display version in any view. Please see Note①.
Version history
IMPORTANT: The software feature changes listed in the version history table for each version are not complete. To obtain complete information about all software feature changes in each version, see the Software Feature Changes document for this release notes. |
Version number | Last version | Release date | Release type | Remarks |
S9855_9825-CMW910-R9126P03 | First release | 2023-08-15 | Release | First release |
Hardware and software compatibility matrix
CAUTION: To avoid an upgrade failure, use Table 2 to verify the hardware and software compatibility before performing an upgrade. |
Table 2 Hardware and software compatibility matrix
Item | Specifications |
Model | S9855-48CD8D, S9855-24B8D, S9825-64D (product code LS-9825-64D), S9825-64D (product code LS-9825-64D-H1) |
Memory | 16G |
Flash | 240G SSD M.2 SATA |
USB flash drive | USB 2.0 flash drive |
Boot ROM version | BootWare shipped with the switch. (Use the display version command in any view to view the BootWare version. See Note②.) |
Host software and MD5 checksum | S9855_9825-CMW910-R9126P03.ipe:b0a686d380acd789b560da43c2bf62d4 S9855_9825-CMW910-PACKET-CAPTURE-R9126P03.bin:d1173c3ba6220490bf13276de7c72829 |
IMC version | iMC PLAT 7.3 (E0705P12) iMC BIMS 7.3 (E0506H01) iMC EIA 7.3 (E0611P13) iMC NTA 7.3 (E0707L06) iMC QoSM 7.3 (E0505P01) iMC SHM 7.3 (E0707L06) iMC UBA 7.3 (E070903) |
iNode version | iNode PC 7.3 (E0585) |
Remarks | N/A |
Sample: To display the host software and Boot ROM version of the S9855&S9825 switch, execute the following command:
<H3C>dis version
H3C Comware Software, Version 9.1.043, Release 9126P03 ------Note①
Copyright (c) 2004-2023 New H3C Technologies Co., Ltd. All rights reserved.
H3C S9825-64D uptime is 0 weeks, 0 days, 0 hours, 0 minutes
Last reboot reason : Cold reboot
Boot image: flash:/S9855_9825-CMW910-BOOT-R9126P03.bin
Boot image version: 9.1.043, Release 9126P03
Compiled Jul 12 2023 14:00:00
System image: flash:/S9855_9825-CMW910-SYSTEM-R9126P03.bin
System image version: 9.1.043, Release 9126P03
Compiled Jul 12 2023 14:00:00
Slot 1:
Uptime is 0 weeks,0 days,0 hours,0 minutes
BOARD TYPE: S9825-64D
DRAM: 16384M bytes
FLASH: 228784M bytes
PCB Version: VER.A
Release Version: S9825-64D-9126P03
CPLD 1 Version: 001
CPLD 2 Version: 001
CPLD 3 Version: 001
CPLD 4 Version: 001
CPLD 5 Version: 001
Patch Version : None
PowChip 1 Version: 002
PowChip 2 Version: 001
PowChip 3 Version: 001
PowChip 4 Version: 001
PowChip 5 Version: 001
PowChip 6 Version: 002
PowChip 7 Version: 001
Power CPLD Version: None
FPGA DOM Version: 018
CpuCard
BuckleType: LSW1BPCX1600NSCOME
BucklePcb Version: VER.A
BuckleCPLD 1 Version: 003
BuckleBootrom Version: 107 ------Note②
BucklePowChip 1 Version: 001
BucklePowChip 2 Version: 001
BuckleBom Version: 000
Reboot Cause: ColdReboot
<H3C>
Upgrade restrictions and guidelines
Hardware feature updates
R9126P03
First release.
Software feature and command updates
For more information about the software feature and command update history, see S9855_9825-CMW910-R9126P03 Release Notes (Software Feature Changes).
MIB updates
Item | MIB file | Module | Description |
R9126P03 | |||
New | None | None | None |
Modified | None | None | None |
Operation changes
Operation changes in R9126P03
Restrictions and cautions
Restrictions
Hardware
· The S9825-64D switch has two models, which are different in support for ZR transceiver modules:
¡ S9825-64D (product code: LS-9825-64D): Only ports 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53, 57, and 61 support ZR transceiver modules.
¡ S9825-64D (product code: LS-9825-64D-H1): Ports other than 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, and 62 support ZR transceiver modules.
· You must install eight fan trays for an S9825-64D (product code: LS-9825-64D-H1) switch if ZR transceiver modules are used in ports 3, 4, 7, 8, 11, 12, 15, 16, 19, 20, 23, 24, 27, 28, 31, 32, 35, 36, 39, 40, 43, 44, 47, 48, 51, 52, 55, 56, 59, 60, 63, or 64.
Software
1. When the incoming traffic of a member port in an aggregation group is mirrored on a S9855 switch, the incoming traffic of all member ports in the aggregation group will be mirrored to the specified monitor port.
Network configuration
Cautions
Hardware
None.
Software
None.
Network configuration
Open problems and workarounds
List of resolved problems
Resolved problems in R9126P03
Related documentation
· H3C S9855&S9825 Switch Series Installation Guide
· H3C S9825&S9855 Switch Series Hardware Information and Specifications
· H3C S9855&S9825 Switch Installation Quick Start
· H3C S9855&S9825 Switch Series Command References-R9126Pxx
· H3C S9855&S9825 Switch Series Configuration Guides-R9126Pxx
Technical support
To obtain technical assistance, contact H3C by using one of the following methods:
· Email:
h3cts@h3c.com (countries and regions except Hong Kong, China)
service_hk@h3c.com (Hong Kong, China)
· Technical support hotline number. To obtain your local technical support hotline number, go to the H3C Service Hotlines website: https://www.h3c.com/en/Support/Online_Help/Service_Hotlines/
To access documentation, go to the H3C website at http://www.h3c.com/en/.
Table 4 S9855&S9825 series hardware features
Item | Remarks |
Dimensions (H × W × D) (excluding feet and rack-mounting brackets) | S9855-48CD8D: 44 × 440 × 660 mm (1.73 × 17.32 × 25.98 in) S9855-24B8D: 44 × 440 × 660 mm (1.73 × 17.32 × 25.98 in) S9825-64D: 175 × 440 × 760 mm (6.89 × 17.32 × 29.92 in) |
Weight | S9855-48CD8D: < 12.2 kg (26.90 lb). S9855-24B8D: < 12.2 kg (26.90 lb) S9825-64D: < 37 kg (81.57 lb) |
Console ports | 1 |
Management Ethernet ports | 10M/100M/1000M Base-T copper port: 1 |
USB ports | 1 |
Power module slots | S9855-48CD8D:2 S9855-24B8D:2 S9825-64D:4 |
Power modules | PSR1600C-12A-B |
Fan tray slots | S9855-48CD8D: 6 S9855-24B8D: 6 S9825-64D (product node LS-9825-64D): 6 S9825-64D (product node LS-9825-64D-H1): 8 |
Fan trays | S9855-48CD8D: FAN-40B-1-C S9855-24B8D: FAN-40B-1-C S9825-64D: FAN-80B-1-B |
Transceiver modules and cables | QSFPDD-400G-SR8-MM850 100m QSFPDD-400G-FR4-WDM1300 2km CAB-400G-QSFP-DD-2m QSFP56-200G-SR4-MM850 100m QSFP-100G-SR4-MM850 100m QSFP-100G-eSR4-MM850 300m QSFP-100G-PSM4-SM1310 500m QSFP-100G-SWDM4-MM850 100m QSFP-100G-LR4L-WDM1300 2km QSFP-100G-LR4-WDM1300 10km QSFP-100G-D-CAB-1M QSFP-100G-D-CAB-3M QSFP-100G-D-CAB-5M QSFP-100G-D-AOC-7M QSFP-100G-D-AOC-10M QSFP-100G-D-AOC-20M QSFP-100G-4SFP-25G-CAB-1M QSFP-100G-4SFP-25G-CAB-3M QSFP-100G-4SFP-25G-CAB-5M SFP-25G-SR-MM850 100m SFP-25G-LR-SM1310 10km SFP-25G-D-CAB-1M SFP-25G-D-CAB-3M SFP-25G-D-CAB-5M SFP-25G-D-AOC-3M SFP-25G-D-AOC-5M SFP-25G-D-AOC-7M SFP-25G-D-AOC-10M SFP-25G-D-AOC-20M |
Input AC voltage | 100 to 240V AC; 50/60Hz |
Input DC voltage | 180V~320V DC |
Power consumption (typical) | S9855-48CD8D: 329W S9855-24B8D: 263W S9825-64D (product node LS-9825-64D): 734 W S9825-64D (product node LS-9825-64D-H1): 734 W |
Operating temperature | 0°C to 40°C (32°F to 104°F) |
Relative humidity (noncondensing) | 5% to 95% |
Table 5 Software features of the S9855&S9825 series
Category | Features |
Fundamentals | · CLI · RBAC · Login Management · FTP and TFTP · File System Management · Configuration File Management · Software Upgrade · Automatic Configuration |
System Management | · Basic Device Management · Device Hardening · Hardware Resource Management · Process Monitoring and Maintenance · Information Center |
Interface | · Bulk interface · Ethernet interface · Loopback, Null, and Inloopback Interfaces |
Layer 2—LAN Switching | · MAC Address Table · Ethernet Link Aggregation · VLAN · Loop Detection · Spanning Tree · LLDP · PFC · Service Loopback Group |
Layer 3—IP Services | · ARP · IP Addressing · DHCP · IP Forwarding Basics · IP Performance Optimization · IPv6 Basics · IPv6 Neighbor Discovery · DHCPv6 |
Layer 3—IP Routing | · IP Routing Basics · Static Routing · OSPF · IS-IS · Basic BGP · Advanced BGP · Policy-Based Routing · IPv6 Static Routing · OSPFv3 · IPv6 Policy-Based Routing · Routing Policy · DCN |
MPLS | · MCE |
ACL and QoS | · ACL · QoS · Time Range · Data Buffer |
User Access and Authentication | · AAA · Password Control |
Keychain | · SSH · Packet Filter · DHCP Snooping · ARP Attack Protection · ND Attack Defense · IP-Based Attack Prevention |
High Availability | · Monitor Link · BFD |
Network Management and Monitoring | · Ping and Tracert · System Debugging · NQA · NTP · SNMP · Sampler · Mirroring · sFlow |
Telemetry | · gRPC · INT · Flow Group · MOD · Telemetry Stream |
Network Programmability | · RESTful · Tcl · Python · NETCONF |
Appendix B Fixed security vulnerabilities
R9126P03 Fixed security vulnerabilities
CVE-2022-0435
A stack overflow flaw was found in the Linux kernel's TIPC protocol functionality in the way a user sends a packet with malicious content where the number of domain member nodes is higher than the 64 allowed. This flaw allows a remote user to crash the system or possibly escalate their privileges if they have access to the TIPC network.
CVE-2001-0554
Buffer overflow in BSD-based telnetd telnet daemon on various operating systems allows remote attackers to execute arbitrary commands via a set of options including AYT (Are You There), which is not properly handled by the telrcv function.
CVE-2003-1069
The Telnet daemon (in.telnetd) for Solaris 2.6 through 9 allows remote attackers to cause a denial of service (CPU consumption by infinite loop).
CVE-2022-25375
An issue was discovered in drivers/usb/gadget/function/rndis.c in the Linux kernel before 5.16.10. The RNDIS USB gadget lacks validation of the size of the RNDIS_MSG_SET command. Attackers can obtain sensitive information from kernel memory.
CVE-2022-0322
A flaw was found in the sctp_make_strreset_req function in net/sctp/sm_make_chunk.c in the SCTP network protocol in the Linux kernel with a local user privilege access. In this flaw, an attempt to use more buffer than is allocated triggers a BUG_ON issue, leading to a denial of service (DOS).
CVE-2021-3772
A flaw was found in the Linux SCTP stack. A blind attacker may be able to kill an existing SCTP association through invalid chunks if the attacker knows the IP-addresses and port numbers being used and the attacker can send packets with spoofed IP addresses.
CVE-2022-1055
A use-after-free exists in the Linux Kernel in tc_new_tfilter that could allow a local attacker to gain privilege escalation. The exploit requires unprivileged user namespaces.
CVE-2021-4203
A use-after-free read flaw was found in sock_getsockopt() in net/core/sock.c due to SO_PEERCRED and SO_PEERGROUPS race with listen() (and connect()) in the Linux kernel. In this flaw, an attacker with a user privileges may crash the system or leak internal kernel information.
CVE-2022-25636
net/netfilter/nf_dup_netdev.c in the Linux kernel 5.4 through 5.6.10 allows local users to gain privileges because of a heap out-of-bounds write. This is related to nf_tables_offload.
A startup configuration file is a program file used to boot a device. The S9855&S9825 switch series supports the following startup configuration files:
· Main startup configuration file—By default, the device uses the main startup file to start.
· Backup startup configuration file—The device uses the backup startup configuration file to start.
The startup files are typically .bin files, for example, main.bin files.
You can upgrade system software by using one of the following methods:
Upgrade method | Remarks |
Upgrading from the CLI | · You must reboot the switch to complete the upgrade. · This method interrupts ongoing network services. |
Upgrading from the BootWare menu | Use this method when the switch cannot correctly start up. |
Before you upgrade system software, complete the following tasks:
· Configure routes to ensure that the switch and the file server can reach each other.
· Run a TFTP or FTP server on the file server.
· Log in to the CLI of the switch through the console port.
· Copy the upgrade file to the file server and correctly set the working directory on the TFTP or FTP server.
· Make sure the switch has sufficient storage space for the new software images. If the storage space is not sufficient, delete unused files. You might need to delete the old software image files, if necessary.
· Make sure the upgrade has minimal impact on the network services. During the upgrade, the switch cannot provide any services.
You can use the TFTP or FTP commands on the switch to access the TFTP or FTP server to back up or download files.
Using TFTP to upgrade software
This section describes how to upgrade system software by using TFTP.
Backing up the running system software image and configuration file
1. Execute the save command in any view to save the current configuration.
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<Sysname>
2. Execute the dir command in user view to identify the system software image and configuration file names and verify that the flash has sufficient space for the new system software image.
<Sysname> dir
Directory of flash: (VFAT)
0 -rw- 249275392 May 26 2021 06:06:18 main.bin
1 drw- - May 18 2021 06:37:08 diagfile
2 -rw- 5506 May 17 2021 08:27:36 ifindex.dat
3 drw- - May 10 2021 02:37:00 logfile
4 drw- - Mar 19 2021 11:23:02 seclog
5 -rw- 5221 Mar 30 2021 19:18:48 startup.cfg
6 -rw- 87646 Mar 30 2021 19:18:48 startup.mdb
7 drw- - Apr 09 2021 16:00:20 third-party
8 drw- - Apr 15 2021 12:35:52 versionInfo
234275200 KB total (233932544 KB free)
<Sysname>
3. Execute the tftp put command in user view to upload the main.bin file to the TFTP server.
<Sysname> tftp 192.168.1.1 put main.bin
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 237M 0 0 100 237M 0 422k --:--:-- --:--:-- --:--:-- 426k
<Sysname>
4. Execute the tftp put command in user view to upload the startup.cfg file to the TFTP server.
<Sysname> tftp 192.168.1.1 put startup.cfg
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5221 0 0 100 5221 0 270k --:--:-- --:--:-- --:--:-- 319k
<Sysname>
When you decompress an image, you need the same size of space as the image for saving the .bin files. If the space is not enough, use either of the following methods:
¡ Back up the files and delete unnecessary files.
¡ Use the .bin files for upgrade.
Upgrading the system software
This section uses the S9855_9825.ipe file as examples.
5. Execute the tftp get command in user view to download the system software image file S9855_9825.ipe to the flash on the switch.
<Sysname> tftp 192.168.1.1 get S9855_9825.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 237.1M 100 237.1M 0 0 1193k 0 0:00:50 0:00:50 --:--:-- 1127k
<Sysname>
6. Execute the boot-loader command in user view to load the file S9855_9825.ipe and specify the file as the main startup software image file.
<Sysname> boot-loader file flash:/S9855_9825.ipe slot 1 main
Verifying the file flash:/S9855_9825.ipe on slot 1...Done.
H3C S9855-48CD8D images in IPE:
S9855_9825-CMW910-BOOT-test.bin
S9855_9825-CMW910-SYSTEM-test.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
Decompressing file S9855_9825-CMW910-BOOT-test.bin to
flash:/S9855_9825-CMW910-BOOT-test.bin...Done.
Decompressing file S9855_9825-CMW910-SYSTEM-test.bin to
flash:/S9855_9825-CMW910-SYSTEM-test.bin...Done.
Verifying the file flash:/S9855_9825-CMW910-BOOT-test.bin on slot 1...Done.
Verifying the file flash:/S9855_9825-CMW910-SYSTEM-test.bin on slot 1...Done.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 1.
Decompression completed.
You are recommended to delete the .ipe file after you set startup software image
s for all slots.
Do you want to delete flash:/S9855_9825.ipe now? [Y/N]:y
<Sysname>
If the space is not enough for decompressing the .ipe file, follow these steps to load the .bin files.
Execute the tftp get command in user view to download the system software image files S9855_9825-CMW910-BOOT-test.bin S9855_9825-CMW910-SYSTEM-test.bin to the flash on the switch.
<Sysname> tftp 192.168.1.1 get S9855_9825-CMW910-BOOT-test.bin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26M 100 26M 0 0 1193k 0 0:00:21 0:00:21 --:--:-- 1127k
<Sysname> tftp 192.168.1.1 get S9855_9825-CMW910-SYSTEM-test.bin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 182M 100 182M 0 0 1193k 0 0:02:10 0:02:10 --:--:-- 1127k
<Sysname>
Execute the boot-loader command in user view to load the files S9855_9825-CMW910-BOOT-test.bin S9855_9825-CMW910-SYSTEM-test.bin and specify the file as the main startup software image file.
<Sysname> boot-loader file boot flash:/S9855_9825-CMW910-BOOT-test.bin system flash:/S9855_9825-CMW910-SYSTEM-test.bin slot 1 main
This command will set the main startup software images. Continue? [Y/N]:Y
Verifying the file flash:/S9855_9825-CMW910-boot-test.bin on slot 1.................
..................Done.
Verifying the file flash:/S9855_9825-CMW910-system-test.bin on slot 1...............
................................................................................
................................................................................
Done.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 1.
<Sysname>
7. Execute the display boot-loader command in user view to verify that the file has been loaded.
<Sysname> display boot-loader
Software images on slot 1:
Current software images:
flash:/S9855_9825-CMW910-boot-test.bin
flash:/S9855_9825-CMW910-system-test.bin
Main startup software images:
flash:/S9855_9825-CMW910-boot-test.bin
flash:/S9855_9825-CMW910-system-test.bin
Backup startup software images:
None
<Sysname>
8. Execute the reboot command in user view to reboot the switch.
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration will be lost after the reboot, save current configuration? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to flash successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
<Sysname>
System is starting...
9. After the reboot is complete, execute the display version command to verify that the system software image is correct.
This section describes how to upgrade system software by using FTP.
Backing up the running system software image and configuration file
1. Execute the save command in any view to save the current configuration.
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<Sysname>
2. Execute the dir command in user view to identify the system software image and configuration file names and verify that the flash has sufficient space for the new system software image.
<Sysname> dir
Directory of flash: (VFAT)
0 -rw- 249275392 May 26 2021 06:06:18 main.bin
1 drw- - May 18 2021 06:37:08 diagfile
2 -rw- 5506 May 17 2021 08:27:36 ifindex.dat
3 drw- - May 10 2021 02:37:00 logfile
4 drw- - Mar 19 2021 11:23:02 seclog
5 -rw- 5221 Mar 30 2021 19:18:48 startup.cfg
6 -rw- 87646 Mar 30 2021 19:18:48 startup.mdb
7 drw- - Apr 09 2021 16:00:20 third-party
8 drw- - Apr 15 2021 12:35:52 versionInfo
234275200 KB total (233932544 KB free)
<Sysname>
3. Execute the ftp command in user view to access the FTP server.
<Sysname> ftp 192.168.1.1
Press CTRL+C to abort.
Connected to 192.168.1.1 (192.168.1.1).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.1.1:(none)): zhangsan
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
ftp>
4. Execute the put command in FTP client view to upload the main.bin file to the FTP server.
ftp> binary
200 Type is Image (Binary)
ftp> put main.bin
227 Entering Passive Mode (192,168,1,1,194,82)
150 "E:\main.bin " file ready to receive in IMAGE / Binary mode
226 Transfer finished successfully.
98742272 bytes sent in 28.822 seconds (3.27 Mbytes/s)
ftp>
5. Execute the put command in FTP client view to upload the startup.cfg file to the FTP server.
ftp> put startup.cfg
227 Entering Passive Mode (192,168,2,79,194,99)
150 "E:\startup.cfg" file ready to receive in IMAGE / Binary mode
226 Transfer finished successfully.
5188 bytes sent in 0.001 seconds (9.46 Mbytes/s)
ftp>
When you decompress an image, you need the same size of space as the image for saving the .bin files. If the space is not enough, use either of the following methods:
¡ Back up the files and delete unnecessary files.
¡ Use the .bin files for upgrade.
Upgrading the system software
1. Execute the get command in FTP client view to download the system software image files S9855_9825.ipe to the flash on the switch.
ftp> get S9855_9825.ipe
227 Entering Passive Mode (192,168,1,1,223,253)
150 "E:\S9855_9825.ipe" file ready to send (249275392 bytes) in IMAGE / Binary mode
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
226 Transfer finished successfully.
249275392 bytes received in 9.203 seconds (25.83 Mbytes/s)
ftp>
2. Execute the quit command in FTP client view to return to user view.
ftp> quit
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
<Sysname>
<Sysname> boot-loader file flash:/S9855_9825.ipe slot 1 main
Verifying the file flash:/S9855_9825.ipe on slot 1...Done.
H3C S9855-48CD8D images in IPE:
S9855_9825-CMW910-BOOT-test.bin
S9855_9825-CMW910-SYSTEM-test.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
Decompressing file S9855_9825-CMW910-BOOT-test.bin to
flash:/S9855_9825-CMW910-BOOT-test.bin...Done.
Decompressing file S9855_9825-CMW910-SYSTEM-test.bin to
flash:/S9855_9825-CMW910-SYSTEM-test.bin...Done.
Verifying the file flash:/S9855_9825-CMW910-BOOT-test.bin on slot 1...Done.
Verifying the file flash:/S9855_9825-CMW910-SYSTEM-test.bin on slot 1...Done.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 1.
Decompression completed.
You are recommended to delete the .ipe file after you set startup software image
s for all slots.
Do you want to delete flash:/S9855_9825.ipe now? [Y/N]:y
<Sysname>
If the space is not enough for decompressing the .ipe file, follow these steps to load the .bin files.
Execute the get command in FTP client view to download the system software image files S9855_9825-CMW910-boot-test.bin S9855_9825-CMW910-system-test.bin to the flash on the switch.
ftp> get S9855_9825-CMW910-boot-test.bin
227 Entering Passive Mode (192,168,1,1,194,82)
150 "E: S9855_9825-CMW910-boot-test.bin " file ready to send (26015744 bytes) in IMAGE / Binary mode 226 Transfer finished successfully.
26015744 bytes sent in 19.822 seconds (3.27 Mbytes/s).
ftp> get S9855_9825-CMW910-system-test.bin
227 Entering Passive Mode (192,168,1,1,194,82)
150 "E: S9855_9825-CMW910-boot-sytem.bin " file ready to send (182351872 bytes) in IMAGE / Binary mode 226 Transfer finished successfully.
182351872 bytes sent in 129.822 seconds (3.27 Mbytes/s).
ftp>
Execute the quit command in FTP client view to return to user view.
ftp> quit
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
<Sysname>
Execute the boot-loader command in user view to load the files S9855_9825-CMW910-boot-test.bin S9855_9825-CMW910-system-test.bin and specify the file as the main startup software image file.
<Sysname> boot-loader file boot flash:/S9855_9825-CMW910-BOOT-test.bin system flash:/S9855_9825-CMW910-SYSTEM-test.bin slot 1 main
This command will set the main startup software images. Continue? [Y/N]:Y
Verifying the file flash:/S9855_9825-CMW910-boot-test.bin on slot 1.................
..................Done.
Verifying the file flash:/S9855_9825-CMW910-system-test.bin on slot 1...............
................................................................................
................................................................................
Done.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 0.
<Sysname>
4. Execute the display boot-loader command in user view to verify that the file has been loaded.
<Sysname> display boot-loader
Software images on slot 1:
Current software images:
flash:/S9855_9825-CMW910-boot-test.bin
flash:/S9855_9825-CMW910-system-test.bin
Main startup software images:
flash:/S9855_9825-CMW910-boot-test.bin
flash:/S9855_9825-CMW910-system-test.bin
Backup startup software images:
None
<Sysname>
5. Execute the reboot command in user view to reboot the switch.
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration will be lost after the reboot, save current configuration? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to flash successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
<Sysname>
System is starting...
6. After the reboot is complete, execute the display version command to verify that the system software image is correct.
Upgrading from the BootWare menu
Accessing the EXTENDED BOOT menu
1. Power on the switch, and you can see the following information:
System is Starting...
BIOS Version : 1.07
Press Ctrl+D to access BIOS MENU
Press Ctrl+T to access BOOTWARE DIAG-TEST MENU
BIOS Boot SONIC System
Loading ... OK
********************************************************************************
* *
* BOOTROM, Version 107 *
* *
********************************************************************************
Creation Date : Apr 7 2023
Memory Type : DDR4 SDRAM
Memory Size : 16384MB
Memory Speed : 2133MHz
flash Size : 228936MB
CPLD 1 Version : 003
CPLD 2 Version : 001
CPLD 3 Version : 001
CPLD 4 Version : 001
PCB 1 Version : Ver.A
PCB 2 Version : Ver.A
Mac Address : 000000000000
BootRom Validating...
Press Ctrl+B to access EXTENDED BOOT MENU...
| NOTE: The command output might vary by device model. |
2. Press Ctrl+B at the prompt to access the EXTENDED BOOT menu.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set default boot storage medium
0. Reboot
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright
Enter your choice(0-9):
Table 6 EXTENDED BOOT menu items
Item | Description |
1. Download image to flash | Download an image to the flash. |
2. Select image to boot | Select the startup image. |
3. Display all files in flash | Display all files in the flash. |
4. Delete file from flash | Delete files from the flash. |
5. Restore to factory default configuration | Restore the factory default configuration. |
6. Enter BootRom upgrade menu | Access the BootRom upgrade submenu. |
7. Skip current system configuration | Skip the current system configuration. This task is not supported when password recovery is disabled. |
8. Set switch startup mode | Set the BootRom startup wait time. |
9. Set default boot storage medium | Set the default storage medium. |
0. Reboot | Restart the device. |
Using TFTP/FTP to upgrade software through an Ethernet port
1. Configure file downloading parameters:
# Enter 1 on the EXTENDED BOOT menu to access the image downloading submenu.
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Set XMODEM protocol parameters
0. Return to boot menu
Enter your choice(0-3):
# Specify the downloading method. In this example, 2 is entered and the FTP method is used.
Load File Name :S9855_9825.ipe
:
Server IP Address :192.168.1.100
Local IP Address :192.168.1.66
Subnet Mask :0.0.0.0
Gateway IP Address :0.0.0.0
FTP User Name :user
FTP User Password :******
Table 7 Image downloading parameters
Item | Description |
Load File Name | Name of the file to be downloaded. Make sure the file name is consistent with the actual file name. |
Server IP Address | IP address of the TFTP/FTP server. |
Local IP Address | Local IP address, the IP address set for the TFTP/FTP client. |
Gateway IP Address | Gateway IP address. You must specify the gateway address if the client is on a different subnet from the server. |
FTP User Name | FTP username. This field is not displayed if the transmission protocol is TFTP. |
FTP User Password | FTP user password. This field is not displayed if the transmission protocol is TFTP. |
2. Enter Y to start file transmission.
Are you sure to download file to flash? Yes or No (Y/N):Y
Loading........................................................................
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done.
Please input the file attribute (Main/Backup/None) m
Image file S9855_9825-CMW910-BOOT-test.bin is self-decompressing...
Free space: 239878340608 bytes
Writing flash...................................................................
................................................................Done.
Image file S9855_9825-CMW910-SYSTEM-test.bin is self-decompressing...
Free space: 239744253952 bytes
Writing flash...................................................................
................................................................................
...............................................................................
Done.
After file downloading, you are placed on the EXTENDED BOOT menu.
3. Enter 0 for the system to start with the new image.
Managing files from the BootWare menu
On the EXTENDED BOOT menu, enter 3 to display all files in the flash.
Display all file(s) in flash:
File Number File Size(bytes) File Name
================================================================================
1(*) 134064128 flash:/S9855_9825-cmw910-boot-test.bin
2(*) 232133632 flash:/S9855_9825-cmw910-system-test.bin
3 336600 flash:/logfile/logfile1.log
4 1194 flash:/diagfile/diagfile1.log
5 16 flash:/versioninfo/versionctl.dat
6 1056 flash:/versioninfo/version0.dat
7 536 flash:/versioninfo/version1.dat
8 796 flash:/versioninfo/version2.dat
9 536 flash:/versioninfo/version3.dat
10 1056 flash:/versioninfo/version4.dat
11 9562 flash:/ifindex.dat
12 14528 flash:/startup.cfg
13 312394 flash:/startup.mdb
14 18 flash:/.privatedata.main
Free space: 239529885696 bytes
The current image is S9855_9825-CMW910-BOOT-test.bin
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Changing the type of a system software image
System software image file attributes include main (*), backup (b), and main+backup (*b). A system software image can have any combination of the * and b attributes. The attribute of a system software image file can edited in the BootWare menu.
You can store only one main image and one backup image on the device. For example, if the flash has a boot image file with the *b atrribute, the flash cannot have another boot image file with the * or b attribute. If you change the attribute of a boot image file is changed to b, the attribute of the previous boot image file with the b attribute is changed to *.
To change the type of a system software image:
1. Enter 2 in the EXTENDED BOOT menu to access the Select image to boot submenu.
File Number File Size(bytes) File Name
================================================================================
1(*) 140948480 flash:/S9855_9825-cmw910-boot-test.bin
2(*) 108319744 flash:/S9855_9825-cmw910-system-test.bin
Free space: 239546073088 bytes
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Note:Select .bin files. One but only one boot image and system image must be
included.
Enter file No.(Allows multiple selection):
2. Enter the numbers of the files you are working with, and then press Enter. Then, change the file attributes as prompted.
Enter file No.(Allows multiple selection):1
Enter another file No.(0-Finish choice):2
Enter another file No.(0-Finish choice):0
You have selected:
flash:/S9855_9825-cmw910-boot-test.bin
flash:/S9855_9825-cmw910-system-test.bin
Please input the file attribute (Main/Backup)m
This operation may take several minutes. Please wait....
Next time, S9855_9825-cmw910-boot-test.bin will become default boot file!
Next time, S9855_9825-cmw910-system-test.bin will become default boot file!
The following prompt message appears after you change the file attribute successfully.
Set the file attribute success!
1. Enter 4 in the EXTENDED BOOT menu to access the Delete file from flash submenu.
Deleting the file in flash:
File Number File Size(bytes) File Name
================================================================================
1(*) 134064128 flash:/S9855_9825-cmw910-boot-test.bin
2(*) 232133632 flash:/S9855_9825-cmw910-system-test.bin
3 336600 flash:/logfile/logfile1.log
4 1194 flash:/diagfile/diagfile1.log
5 16 flash:/versioninfo/versionctl.dat
6 1056 flash:/versioninfo/version0.dat
7 536 flash:/versioninfo/version1.dat
8 796 flash:/versioninfo/version2.dat
9 536 flash:/versioninfo/version3.dat
10 1056 flash:/versioninfo/version4.dat
11 9562 flash:/ifindex.dat
12 14528 flash:/startup.cfg
13 312394 flash:/startup.mdb
14 18 flash:/.privatedata.main
Free space: 239529885696 bytes
The current image is S9855_9825-CMW910-BOOT-test.bin
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Please input the file number to change:
2. Enter the number of the file that you want to delete and press Enter.
Please input the file number to change: 3
3. When the following prompt appears, enter Y.
The file you selected is logfile/logfile1.log,Delete it? (Y/N):Y
Deleting....Done.
Handling software upgrade failures
If a software upgrade fails, the system runs the old software version. To handle a software failure:
1. Check the physical ports for a loose or incorrect connection.
2. If you are using the console port for file transfer, check the HyperTerminal settings (including the baud rate and data bits) for any wrong setting.
3. Check the file transfer settings:
¡ If XMODEM is used, you must set the same baud rate for the terminal as for the console port.
¡ If TFTP is used, you must enter the same server IP addresses, file name, and working directory as set on the TFTP server.
¡ If FTP is used, you must enter the same FTP server IP address, source file name, working directory, and FTP username and password as set on the FTP server.
4. Check the FTP or TFTP server for any incorrect setting.
5. Check that the storage device has sufficient space for the upgrade file.
6. If the message “Something is wrong with the file” appears, check the file for file corruption.
7.