Administrator
Published on 2025-09-18 / 4 Visits
0
0

华三上网行为管理重置密码(H3C ACG1000)

1.默认登录方式

ACG1000产品的管理口为GE0,默认的登录地址和账号密码为http://192.168.1.1admin/admin

2.恢复密码方法

ACG1000的web登录密码和console密码一致,密码找回方法如下两种:重置管理员密码和清除当前配置文件(这里只介绍重置管理员密码的情况)。

第一步:重启设备,在console口上看到提示信息按住Ctrl+C,进入menuboot界面。

SPI ID: ef:40:17:00:00
header found at offset 0x10000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 441520
Validating data...
Starting stage 1.5 bootloader at 0xffffffff81000000
Warning: Board descriptor tuple not found in eeprom, using defaults
CUST_NB02 board revision major:1, minor:0, serial #: unknown
OCTEON CN7020-SCP pass 1.2, Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x8fc00000, size: 0x400000
DRAM: 2 GiB
Clearing DRAM...... done
Using default environment

MMC:   Octeon MMC/SD0: 1

SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1504240 bytes


U-Boot 2.1.6 (Build time: Jun 27 2019 - 15:08:34)

Using DRAM size from environment: 2048 MBytes
CUST_NB02 board revision major:1, minor:0, serial #: unknown
OCTEON CN7020-SCP pass 1.2, Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x8f000000, size: 0x1000000
DRAM: 2 GiB
Clearing DRAM...... done
Octeon MMC/SD0: 1
Flash boot bus region not enabled, skipping NOR flash config
PCIe: Port 0 not in PCIe mode, skipping
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each

Press CTRL+C to enter menuboot: 0

第二步:点按完成之后会输出日志,等待到控制台输出BOOT MENU界面时,提示进行输入Please input your choice[0-a]:4,按4重置用户名密码。

reading menuboot
......................................
39155408 bytes read in 9842 ms (3.8 MiB/s)
argv[2]: console=ttyS0,9600
argv[3]: numcores=2
argv[4]: quiet
Allocating memory for ELF segment: addr: 0xffffffff80100000 (adjusted to: 0x100000), size 0x27b0580
## Loading big-endian Linux kernel with entry point: 0xffffffff8074db20 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores:
 0x3
/sbin/rc starting
Mounting file systems
Setting up loopback
CVMX_SHARED: 0x10c10000-0x11460000
Active coremask = 0x3
ge0 MAC address is : 3c:d2:e5:90:db:39
ge1 MAC address is : 3c:d2:e5:90:db:3a
ge2 MAC address is : 3c:d2:e5:90:db:3b
ge3 MAC address is : 3c:d2:e5:90:db:3c
ge4 MAC address is : 3c:d2:e5:90:db:3d
ge5 MAC address is : 3c:d2:e5:90:db:3e
ge6 MAC address is : 3c:d2:e5:90:db:3f
ge7 MAC address is : 3c:d2:e5:90:db:40
ge8 MAC address is : 3c:d2:e5:90:db:41
ge9 MAC address is : 3c:d2:e5:90:db:42
ge10 MAC address is : 3c:d2:e5:90:db:43
ge11 MAC address is : 3c:d2:e5:90:db:44
ge12 MAC address is : 3c:d2:e5:90:db:45
ge13 MAC address is : 3c:d2:e5:90:db:46
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
BOOTMEM 0x28b4000 size 215MB(225738752B)
BOOTMEM 0x20000000 size 867MB(910016512B)
Page size 16384 bytes, memory regions:
 0: 0x8000000002ca4000 -> 0x800000000fffc000 (221609984 bytes)
 1: 0x8000000020000000 -> 0x80000000563dc000 (910016512 bytes)
Buddy initialized
Slub initialized
nf_conntrack (size 472 buckets 131072 max 10)
/
/sbin/rc complete
smartctl 6.1 2013-03-16 r3800 [mips64-linux-3.10.56-rt50-Cavium-Octeon+] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

hard disk check success
No need to format the hard disk.
[   58.448348] ata1.00: exception Emask 0x0 SAct 0x8000 SErr 0x0 action 0x0
[   58.528680] ata1.00: irq_stat 0x40000000
[   58.575679] ata1.00: failed command: READ FPDMA QUEUED
[   58.637252] ata1.00: cmd 60/08:78:6f:00:00/00:00:00:00:00/40 tag 15 ncq 4096 in
[   58.637252]          res 41/40:00:70:00:00/00:00:00:00:00/40 Emask 0x409 (media error) <F>
[   58.823818] ata1.00: status: { DRDY ERR }
[   58.871845] ata1.00: error: { UNC }
[   58.915750] end_request: I/O error, dev sda, sector 112
[   58.978473] EXT4-fs (sda1): can't read group descriptor 5
mount: mounting /dev/sda1 on /disk failed: Invalid argument
mke2fs 1.42.7 (21-Jan-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61054976 inodes, 244190000 blocks
12209500 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

Filesystem                Size      Used Available Use% Mounted on
tmpfs                   469.3M     60.0K    469.2M   0% /var/system_rw
/dev/loop0              469.3M     60.0K    469.2M   0% /var/system_ro
aufs                    469.3M     60.0K    469.2M   0% /
none                    469.3M      8.3M    461.0M   2% /dev/shm
/dev/sda1               916.8G     71.6M    870.1G   0% /disk
mount hard disk success.
2025-09-18 16:08:30:ge3 link change to UP !
mount mmc card success.
******** Please use the interface to communicate ge0********

        ===============================================================
        |            BOOT MENU(V4.2-20200918)                         |
        |  1. Upgrade image by FTP.                                   |
        |  2. Upgrade menuboot by FTP.                                |
        |  3. Check and repare file system.                           |
        |  4. Reset administrator passowrd.                           |
        |  5. Producing test.                                         |
        |  6. Aging test.                                             |
        |  7. Display production and aging recored.                   |
        |  8. Advance functions.                                      |
        |  9. Clear hardware statistics.                              |
        |  a. Show hardware statistics.                               |
        |  #. Disk aging test                                         |
        |  0. Reboot.                                                 |
        |                                                             |
        ===============================================================

2025-09-18 16:08:32:ge2 link change to UP !
Please input your choice[0-a]:4
Reset admin password success.

第三步:提示完成重置后Reset admin password success.,等待再次出现BOOT MENU,按0重启设备,密码重置完成。


        ===============================================================
        |            BOOT MENU(V4.2-20200918)                         |
        |  1. Upgrade image by FTP.                                   |
        |  2. Upgrade menuboot by FTP.                                |
        |  3. Check and repare file system.                           |
        |  4. Reset administrator passowrd.                           |
        |  5. Producing test.                                         |
        |  6. Aging test.                                             |
        |  7. Display production and aging recored.                   |
        |  8. Advance functions.                                      |
        |  9. Clear hardware statistics.                              |
        |  a. Show hardware statistics.                               |
        |  #. Disk aging test                                         |
        |  0. Reboot.                                                 |
        |                                                             |
        ===============================================================

Please input your choice[0-a]:0
2025-09-18 16:09:50:ge2 link change to DOWN !
2025-09-18 16:09:50:ge3 link change to DOWN !
Sent SIGKILL to all processes
Requesting system reboot
[  165.077183] reboot: Restarting system
SPI stage 1 bootloader
SPI ID: ef:40:17:00:00
header found at offset 0x10000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 441520
Validating data...
Starting stage 1.5 bootloader at 0xffffffff81000000
Warning: Board descriptor tuple not found in eeprom, using defaults
CUST_NB02 board revision major:1, minor:0, serial #: unknown
OCTEON CN7020-SCP pass 1.2, Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x8fc00000, size: 0x400000
DRAM: 2 GiB
Clearing DRAM...... done
Using default environment

MMC:   Octeon MMC/SD0: 1

SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1504240 bytes


U-Boot 2.1.6 (Build time: Jun 27 2019 - 15:08:34)

Using DRAM size from environment: 2048 MBytes
CUST_NB02 board revision major:1, minor:0, serial #: unknown
OCTEON CN7020-SCP pass 1.2, Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x8f000000, size: 0x1000000
DRAM: 2 GiB
Clearing DRAM...... done
Octeon MMC/SD0: 1
Flash boot bus region not enabled, skipping NOR flash config
PCIe: Port 0 not in PCIe mode, skipping
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each

Press CTRL+C to enter menuboot: 0
reading vmlinux.64
..................................................
51549984 bytes read in 8766 ms (5.6 MiB/s)
argv[2]: console=ttyS0,9600
argv[3]: numcores=2
Allocating memory for ELF segment: addr: 0xffffffff80100000 (adjusted to: 0x100000), size 0x3395ab0
## Loading big-endian Linux kernel with entry point: 0xffffffff8077e000 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores:
 0x3
rc starting
Mounting file systems
Setting up loopback
log disk part is sda1.

ge0 MAC address is : 3c:d2:e5:90:db:39
ge1 MAC address is : 3c:d2:e5:90:db:3a
ge2 MAC address is : 3c:d2:e5:90:db:3b
ge3 MAC address is : 3c:d2:e5:90:db:3c
ge4 MAC address is : 3c:d2:e5:90:db:3d
ge5 MAC address is : 3c:d2:e5:90:db:3e
ge6 MAC address is : 3c:d2:e5:90:db:3f
ge7 MAC address is : 3c:d2:e5:90:db:40
Update database pre-process.
ge8 MAC address is : 3c:d2:e5:90:db:41
ge9 MAC address is : 3c:d2:e5:90:db:42
ge10 MAC address is : 3c:d2:e5:90:db:43
ge11 MAC address is : 3c:d2:e5:90:db:44
ge12 MAC address is : 3c:d2:e5:90:db:45
ge13 MAC address is : 3c:d2:e5:90:db:46
CVMX_SHARED: 0x10d20000-0x121a0000
Active coremask = 0x3
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
BOOTMEM 0x46400000 size 1140MB(1196310528B)
Page size 16384 bytes, memory regions:
 0: 0x8000000047758000 -> 0x800000008d8e4000 (1176027136 bytes)
Memory reserved 16 MB for configuration
Buddy initialized
Slub initialized
Database upgrade
nf_conntrack (size 512 buckets 131072 max 2000000) memory:2GB
Application identify initialized
Application audit initialized
Intrusion Prevention System initialized
Anti-Virus Protection initialized
WAF initialized
The configuration is loaded !
2025-09-18 16:13:01:ge3 link change to UP !
watchdog init ok.
2025-09-18 16:13:03:ge2 link change to UP !
rc complete
Username:


Comment