User Tools

Site Tools


comware:s5100-ei

CPU

# strings _s3u02_04.btm.extracted/EXTEND | grep -i bcm
bcm5836

Switch Fabric

???

Boot-Loader interestings

            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 2.03      *
            *                                                         *
            ***********************************************************

            Copyright (c) 2004-2009 3Com Corporation and its licensors.
            Creation date   : Aug 18 2009, 16:45:01
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0


Press Ctrl-B to enter Boot Menu... 1

password:


        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9):
Enter debugging environment

Press any key to stop auto-boot...
 4
[VxWorks Boot]: ?

 ?                     - print this list
 P                     - show devices on the PCI bus
 R                     - reboot
 T addr, nbytes        - test memory
 g adrs                - go to adrs
 d adrs[,n]            - display memory
 D adrs                - display mac register
 X port, adrs          - display phy register
 m adrs                - modify memory
 M adrs, value         - modify mac register
 Y port, adrs, value   - modify phy register
 f adrs, nbytes, value - fill memory
 t adrs, adrs, nbytes  - copy memory

[VxWorks Boot]: P
bus dev fn venID devID class  rev MBAR0    MBAR1    IPIN ILINE
01  04  00 14e4  4704  060000 09  a8004000 a0000008 01   01
01  05  00 11ab  d804  020000 02  a8100000 40000000 01   04
01  06  00 11ab  d804  020000 02  a8110000 44000000 01   04
[VxWorks Boot]:
Starting......



            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 1.00      *
            *                                                         *
            ***********************************************************

            Copyright (c) 2004-2006 3Com Corporation and its licensors.
            Creation date   : Jul  3 2006, 10:35:24
            CPU type        : BCM5836
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0


Press Ctrl-B to enter Boot Menu... 1

password: 

        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9): <CTRL-T>
Are you sure you want to test your equipment? Yes or No [Y/N] y
Enter board test environment...

password: huawei-3com

Enter board test, press 'help' for help

TEST>help

help
reset
test SDRAM
test Flash
test WatchDog
test setmacaddrnum <PortMacNum(1~255) SwitchMacNum(1~255)>
test setmacaddr <48bit-macaddr>
test settrackcode <STRING 1-30>
test setcustomcode <STRING 1-30>
test setbuildinfo <CC.XX.YY>    CC--software version; XX.YY--hardware version;
                                only 0~9 and a(A)~z(Z) is valid
test setproductcode <STRING 1-20>
test setmanucode <STRING 1-4>
disp version
disp manuinfo
disp permanentdata

TEST>disp permanentdata
@
MAC ADDRESS COUNT: 1 (per port); 64 (switch)

MAC ADDRESS: 00225724EFC0

TRACKING SERIAL NO: YFCFABN24EFC0

CUSTOMER VISIBLE SERIAL NO: YFCFABN24EFC0

BUILD INFORMATION: 00.00.00

PRODUCT NUMBER: 3CR17662-91

TRACKING NUMBER: FT

permanentdata read OK!
$$

TEST>disp manuinfo
File size is wrong
@
board manuinfo display BAD!
$$

TEST>disp version
@
Quidway S5150C-EI:
Boot Ver: 1.00, Hard Ver: REV.B, CPLD Ver: 002
$$

TEST>

Manuinfo

<4200G>sys
System View: return to User View with Ctrl+Z.
[4200G]_
Now you enter a hidden command view for developer's testing, some commands may
affect operation by wrong use, please carefully use it with our engineer's
direction.
[4200G-hidecmd]en
 Are you sure to test your equipment? Yes or No (Y/N)y
 Password:
NOTICE: Commands under this mode may influence the machine's configuration data,so you need to ensure that your configure has been saved to flash before executing them and reset the machine after executing them.
[4200G-equipment]display manuinfo 1
@@
DEVICE NAME: 3CR17662-91
DEVICE SERIAL NUMBER: YFCFABN24EFC0
MAC ADDRESS: 0022-5724-EFC0
MANUFACTURED DATE:
VENDOR NAME:
MANU SERIAL NUMBER: YFCFABN24EFC0
CLEI CODE:
BUILD INFORMATION: 00.00.00
MAC ADDRESS COUNT: 1-64
DEVICE BOM:
BOARD SERIAL NUMBER:
CUSTOM CODE:
TEST TRACKING NUMBER: FT
ELECTRONIC LABEL VERSION:
pass
$$

[4200G-equipment]download manuinfo devicename 1 S5100-50C-EI
@@
pass
$$

[4200G-equipment]_config product type h3c
Product type change from 4200G to H3C set OEM key 3
[4200G-equipment]
[4200G-equipment]display manuinfo 1
@@
DEVICE NAME: S5100-50C-EI
DEVICE SERIAL NUMBER: YFCFABN24EFC0
MAC ADDRESS: 0022-5724-EFC0
MANUFACTURED DATE:
VENDOR NAME:
MANU SERIAL NUMBER: YFCFABN24EFC0
CLEI CODE:
BUILD INFORMATION: 00.00.00
MAC ADDRESS COUNT: 1-64
DEVICE BOM:
BOARD SERIAL NUMBER:
CUSTOM CODE:
TEST TRACKING NUMBER: FT
ELECTRONIC LABEL VERSION:
pass
$$

[4200G-equipment]
[4200G-equipment]reset
System rebooting...



Starting......



            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 1.00      *
            *                                                         *
            ***********************************************************

            Copyright (c) 2004-2006 3Com Corporation and its licensors.
            Creation date   : Jul  3 2006, 10:35:24
            CPU type        : BCM5836
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0


Press Ctrl-B to enter Boot Menu... 1

password:
        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9):
Are you sure you want to test your equipment? Yes or No [Y/N] y
Enter board test environment...

password: ***********

Enter board test, press 'help' for help

TEST>disp permanentdata
@
MAC ADDRESS COUNT: 1 (per port); 64 (switch)

MAC ADDRESS: 00225724EFC0

TRACKING SERIAL NO: YFCFABN24EFC0

CUSTOMER VISIBLE SERIAL NO: YFCFABN24EFC0

BUILD INFORMATION: 00.00.00

PRODUCT NUMBER: S5100-50C-EI

TRACKING NUMBER: FT

permanentdata read OK!
$$

TEST>test setmanucode h3c
@
permanentdata write OK!
$$

TEST>disp permanentdata
@
MAC ADDRESS COUNT: 1 (per port); 64 (switch)

MAC ADDRESS: 00225724EFC0

TRACKING SERIAL NO: YFCFABN24EFC0

CUSTOMER VISIBLE SERIAL NO: YFCFABN24EFC0

BUILD INFORMATION: 00.00.00

PRODUCT NUMBER: S5100-50C-EI

TRACKING NUMBER: H3C

permanentdata read OK!
$$

TEST> reset
Starting......



            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 1.00      *
            *                                                         *
            ***********************************************************

            Copyright (c) 2004-2006 3Com Corporation and its licensors.
            Creation date   : Jul  3 2006, 10:35:24
            CPU type        : BCM5836
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0
(/root/) C-Kermit>send /tmp/S5100SI-805.btm
Sending /tmp/S5100SI-805.btm, 2344 blocks: Give your local XMODEM receive command now.
Bytes Sent: 300160   BPS:9385

Transfer complete
(/root/) C-Kermit>set speed 19200
/dev/ttyUSB0, 19200 bps
(/root/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 19200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Sorry, loaded file is not compatible with the system!
~/Downloads/4200G> xxd s3u02_04.btm | head -n3
0000000: 6000 0000 bf93 0400 13c6 5a00 0000 0000  `.........Z.....
0000010: 3030 3030 3030 5335 3130 3045 492e 6274  000000S5100EI.bt
0000020: 6d33 6373 6563 7400 0000 0000 0000 0000  m3csect.........
~/Downloads/4200G> xxd s3u01_00.btm | head -n3
0000000: 6000 0000 3085 0400 2358 5a00 0000 0000  `...0...#XZ.....
0000010: 3030 3030 3030 5335 3130 3045 492e 6274  000000S5100EI.bt
0000020: 6d33 6300 0000 0000 0000 0000 0000 0000  m3c.............
~/Downloads/4200G> xxd S5100EI-805.btm | head -n3
0000000: 6000 0000 9b93 0400 4abe 5a00 0000 0000  `.......J.Z.....
0000010: 3030 3030 3030 5335 3130 3045 492e 6274  000000S5100EI.bt
0000020: 6d6a 7665 6900 0000 0000 0000 0000 0000  mjvei...........
~/Downloads/4200G> dd if=s3u01_00.btm bs=16 count=1 > kees
1+0 records in
1+0 records out
16 bytes (16 B) copied, 0.000175184 s, 91.3 kB/s
~/Downloads/4200G> dd if=S5100EI-805.btm bs=16 count=1 > kees
1+0 records in
1+0 records out
16 bytes (16 B) copied, 0.000149212 s, 107 kB/s
~/Downloads/4200G> dd if=s3u01_00.btm bs=16 count=2 skip=1 >> kees
2+0 records in
2+0 records out
32 bytes (32 B) copied, 6.3764e-05 s, 502 kB/s
~/Downloads/4200G> dd if=S5100EI-805.btm bs=16 skip=3 >> kees
18748+1 records in
18748+1 records out
299979 bytes (300 kB) copied, 0.056155 s, 5.3 MB/s
~/Downloads/4200G> xxd kees | head
0000000: 6000 0000 9b93 0400 4abe 5a00 0000 0000  `.......J.Z.....
0000010: 3030 3030 3030 5335 3130 3045 492e 6274  000000S5100EI.bt
0000020: 6d33 6300 0000 0000 0000 0000 0000 0000  m3c.............
0000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000040: 3230 3130 2f38 2f31 3320 3134 3a32 3a32  2010/8/13 14:2:2
0000050: 3800 0000 0000 0000 0000 0000 0000 0000  8...............
0000060: 1301 0010 0000 0000 1101 0010 0000 0000  ................
0000070: 8401 0010 0000 0000 8201 0010 0000 0000  ................
0000080: 8001 0010 0000 0000 7e01 0010 0000 0000  ........~.......
0000090: 7c01 0010 0000 0000 7a01 0010 0000 0000  |.......z.......
~/Downloads/4200G> 

(/root/) C-Kermit>send /tmp/kees
Sending /tmp/kees, 2343 blocks: Give your local XMODEM receive command now.
Bytes Sent: 300032   BPS:9386

Transfer complete
(/root/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Bootrom updating..........done!
Starting......



            ***********************************************************
            *                                                         *
            *          H3C S5100-50C-EI BOOTROM, Version 805          *
            *                                                         *
            ***********************************************************

            Copyright(c) 2004-2010 Hangzhou H3C Technologies Co., Ltd.
            Creation date   : Aug 13 2010, 13:41:07
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0


Press Ctrl-B to enter Boot Menu... 1

password:

<H3C>display version
H3C Comware Platform Software
Comware Software, Version 3.10, Release 2221P06
Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S5100-50C-EI uptime is 0 week, 0 day, 0 hour, 5 minutes

H3C S5100-50C-EI with 1 Processor
64M   bytes DRAM
16M   bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 805
[SubSlot 0] 48 GE ( 4 COMBO ) Hardware Version is REV.B

<H3C>_dis
<H3C>_display version
H3C Comware Platform Software
Comware Software, Version 3.10, Release 2221P06
Comware Platform Software Version COMWAREV300R002B17D073
H3C S5100-50C-EI Software Version V200R002B63D009
H3C S5100-50C-EI Product Version S5100-EI-R2221P06

Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
Compiled Oct 19 2012 09:47:46, RELEASE SOFTWARE
H3C S5100-50C-EI uptime is 0 week, 0 day, 0 hour, 5 minutes

H3C S5100-50C-EI with 1 Processor
64M   bytes DRAM
16M   bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 805
[SubSlot 0] 48 GE ( 4 COMBO ) Hardware Version is REV.B

<H3C>
(/root/) C-Kermit>send /tmp/s3u01_00.btm
Sending /tmp/s3u01_00.btm, 2315 blocks: Give your local XMODEM receive command now.
Xmodem sectors/kbytes sent:   0/ 0kRetry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: NAK on sector
Bytes Sent: 296448   BPS:10931

Transfer complete
(/root/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
done!
Sorry, loaded file is not compatible with the system!

~/Downloads/4200G> dd if=s3u01_00.btm bs=16 count=1 > kees-h3c-2-3com
1+0 records in
1+0 records out
16 bytes (16 B) copied, 6.5287e-05 s, 245 kB/s
~/Downloads/4200G> dd if=S5100EI-805.btm bs=16 count=2 skip=1 >> kees-h3c-2-3com
2+0 records in
2+0 records out
32 bytes (32 B) copied, 4.9117e-05 s, 652 kB/s
~/Downloads/4200G> dd if=s3u01_00.btm bs=16 skip=3 >> kees-h3c-2-3com
18518+0 records in
18518+0 records out
296288 bytes (296 kB) copied, 0.0526065 s, 5.6 MB/s
~/Downloads/4200G>

(/root/) C-Kermit>send /tmp/kees-h3c-2-3com
Sending /tmp/kees-h3c-2-3com, 2315 blocks: Give your local XMODEM receive command now.
Bytes Sent: 296448   BPS:9380

Transfer complete
(/root/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Bootrom updating..........done!


Your baudrate should be set to 9600 bps again!
Press enter key when ready

Enter your choice(0-9): 0
System rebooting...
(Back at labdesktop)
----------------------------------------------------
(/root/) C-Kermit>set speed 19200
/dev/ttyUSB0, 19200 bps
(/root/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 19200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
@óB#

æåçç÷



            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 1.00      *
            *                                                         *
            ***********************************************************


...

<H3C>dis ver
H3C Comware Platform Software
Comware Software, Version 3.10, Release 2221P06
Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S5100-50C-EI uptime is 0 week, 0 day, 0 hour, 1 minute

H3C S5100-50C-EI with 1 Processor
64M   bytes DRAM
16M   bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 1.00
[SubSlot 0] 48 GE ( 4 COMBO ) Hardware Version is REV.B

<H3C>dis dev manu
DEVICE_NAME          : 3CR17662-91
DEVICE_SERIAL_NUMBER : YFCFABN24EFC0
MAC_ADDRESS          : 0022-5724-efc0
MANUFACTURING_DATE   : NONE
VENDOR_NAME          : 3Com
<H3C>

Enter your choice(0-9): 2

Select application file to boot
1. Set application files
2. Set configuration files
3. Set web files
0. Return

Enter your choice(0-3): 1
File Number    File Size(bytes)     File Name
=============================================================================
1              4217449              s3t03_02_04s168.app
2              4322019              s3t03_02_07s168.app
Free Space: 1537024 bytes
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Please input the file number to change: 2
Please input the file attribute (main/backup):main

The attribute of s5100ei.bin is changed from main to none!
Next time, s3t03_02_07s168.app will become default boot file!

            ***********************************************************
            *                                                         *
            *         Switch 4200G 48-Port BOOTROM, Version 1.00      *
            *                                                         *
            ***********************************************************

            Copyright (c) 2004-2006 3Com Corporation and its licensors.
            Creation date   : Jul  3 2006, 10:35:24
            CPU type        : BCM5836
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 00225724efc0


Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
Decompress Image........OK!
Starting at 0x80100000...


            Board checking........................LS51LTSI
            SDRAM fast selftest........................OK!
            Flash fast selftest........................OK!
            CPLD selftest..............................OK!
            Switch chip selftest.......................OK!

            Port 1 has no module

            Port 2 has no module

            Port 3 has no module

            Port 4 has no module

            Slot 1 has no module

            Slot 2 has no module

            PHY selftest...............................OK!
            Please check port leds...............FINISHED!


User interface aux0 is available.



Press ENTER to get started.

Login authentication


Username:admin
Password:
<H3C>
%Apr  1 18:55:51:192 2000 H3C SHELL/5/LOGIN:- 1 - admin(aux0) in unit1 logindis ver
3Com Corporation
Switch 4200G 48-Port Software Version 3Com OS V3.02.07s168
Copyright (c) 2004-2012 3Com Corporation and its licensors, All rights reserved.
Switch 4200G 48-Port uptime is 0 week, 0 day, 0 hour, 0 minute

Switch 4200G 48-Port with 1 Processor
64M   bytes DRAM
16M   bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 1.00
[SubSlot 0] 48 GE ( 4 COMBO ) Hardware Version is REV.B

<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]undo sysname
[4200G]
comware/s5100-ei.txt · Last modified: 2013/09/25 04:28 by admin