防火墙路由器交换机Console更改登陆密码调试方法(防火墙路由器交换机Console更改登陆密码调试方法)(1)

以下为配置信息及操作步骤

login: admin

Password:

一、连接设备,将设备断电

System is starting...

Press Ctrl D to access BASIC-BOOTWARE MENU...

Press Ctrl T to start heavy Memory test

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing........Done.

****************************************************************************

* *

* H3C SecPath BootWare, Version 2.00 *

* *

****************************************************************************

Compiled Date : Sep 12 2017

CPU Type : xlp208

CPU Clock Speed : 1000MHz

Memory Type : DDR3 SDRAM

Memory Size : 2048MB

Memory Speed : 1333MHz

BootWare Size : 768KB

Flash Size : 8MB

CPLDA Version : 2.0

CPLDB Version : 4.0

PCB Version : Ver.A

BootWare Validating...

二、出现以下信息时,按:CTRL B 组合键进入启动菜单

Press Ctrl B to access EXTENDED-BOOTWARE MENU...

三、确认密码恢复功能处于开启状态(缺省开启,不建议关闭)

Password recovery capability is enabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System |

|<2> Enter Serial SubMenu |

|<3> Enter Ethernet SubMenu |

|<4> File Control |

|<5> Restore to Factory Default Configuration |

|<6> Skip Current System Configuration |

|<7> BootWare Operation Menu |

|<8> Skip Authentication for Console Login |

|<9> Storage Device Operation |

|<0> reboot |

============================================================================

Ctrl Z: Access EXTENDED ASSISTANT MENU

Ctrl F: Format File System

四、选择8 跳过Console登录认证

Enter your choice(0-9): 8

Clear Image Password Success!

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System |

|<2> Enter Serial SubMenu |

|<3> Enter Ethernet SubMenu |

|<4> File Control |

|<5> Restore to Factory Default Configuration |

|<6> Skip Current System Configuration |

|<7> BootWare Operation Menu |

|<8> Skip Authentication for Console Login |

|<9> Storage Device Operation |

|<0> Reboot |

============================================================================

Ctrl Z: Access EXTENDED ASSISTANT MENU

Ctrl F: Format File System

五、选择1启动系统

Enter your choice(0-9): 1

Loading the main image files...

Loading file flash:/f1000fw-cmw710-system-R9323P15.bin......................

............................................................................

.................Done.

Loading file flash:/f1000fw-cmw710-boot-R9323P15.bin........Done.

Image file flash:/f1000fw-cmw710-boot-R9323P15.bin is self-decompressing....

.................................................Done.

System image is starting...

Cryptographic Algorithms Known-Answer Tests are running ...

CPU 0 of slot 1:

Starting Known-Answer tests in the user space.

Known-answer test for SHA1 passed.

Known-answer test for SHA224 passed.

Known-answer test for SHA256 passed.

Known-answer test for SHA384 passed.

Known-answer test for SHA512 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for HMAC-SHA224 passed.

Known-answer test for HMAC-SHA256 passed.

Known-answer test for HMAC-SHA384 passed.

Known-answer test for HMAC-SHA512 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the user space passed.

Starting Known-Answer tests in the kernel.

Known-answer test for AES passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for SHA1 passed.

Known-answer test for GCM passed.

Known-answer test for GMAC passed.

Known-answer test for random number generator passed.

Known-Answer tests in the kernel passed.

Starting Known-Answer tests in the engine.

Known-answer test for SHA1 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the engine passed.

Cryptographic Algorithms Known-Answer Tests passed.

Startup configuration file doesn't exist or is invalid.

Line con0 is available.

Press ENTER to get started.

<H3C>%Jun 7 05:14:36:484 2022 H3C SHELL/5/SHELL_LOGIN: -Context=1; Console logged in from con0.

六、启动完成后重新配置登录用户名及登录密码

system-view

System View: return to User View with Ctrl Z.

[H3C]local-user admin

[H3C-luser-manage-admin]password simple admin123

[H3C-luser-manage-admin]quit

七、恢复Console登录认证模式为用户名和密码认证

[H3C]line console 0

[H3C-line-console0]authentication-mode scheme

[H3C-line-console0]quit

[H3C]quit

八、配置完成,保存设备配置

<H3C>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):

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

九、重启设备

<H3C>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

%Jun 7 05:21:19:868 2022 H3C DEV/5/SYSTEM_REBOOT: -Context=1; System is rebooting now.

System is starting...

Press Ctrl D to access BASIC-BOOTWARE MENU...

Press Ctrl T to start heavy memory test

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing........Done.

****************************************************************************

* *

* H3C SecPath BootWare, Version 2.00 *

* *

****************************************************************************

Compiled Date : Sep 12 2017

CPU Type : xlp208

CPU Clock Speed : 1000MHz

Memory Type : DDR3 SDRAM

Memory Size : 2048MB

Memory Speed : 1333MHz

BootWare Size : 768KB

Flash Size : 8MB

CPLDA Version : 2.0

CPLDB Version : 4.0

PCB Version : Ver.A

BootWare Validating...

Press Ctrl B to access EXTENDED-BOOTWARE MENU...

Loading the main image files...

Loading file flash:/f1000fw-cmw710-system-R9323P15.bin......................

............................................................................

.................Done.

Loading file flash:/f1000fw-cmw710-boot-R9323P15.bin........Done.

Image file flash:/f1000fw-cmw710-boot-R9323P15.bin is self-decompressing....

.................................................Done.

System image is starting...

Cryptographic Algorithms Known-Answer Tests are running ...

CPU 0 of slot 1:

Starting Known-Answer tests in the user space.

Known-answer test for SHA1 passed.

Known-answer test for SHA224 passed.

Known-answer test for SHA256 passed.

Known-answer test for SHA384 passed.

Known-answer test for SHA512 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for HMAC-SHA224 passed.

Known-answer test for HMAC-SHA256 passed.

Known-answer test for HMAC-SHA384 passed.

Known-answer test for HMAC-SHA512 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the user space passed.

Starting Known-Answer tests in the kernel.

Known-answer test for AES passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for SHA1 passed.

Known-answer test for GCM passed.

Known-answer test for GMAC passed.

Known-answer test for random number generator passed.

Known-Answer tests in the kernel passed.

Starting Known-Answer tests in the engine.

Known-answer test for SHA1 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the engine passed.

Cryptographic Algorithms Known-Answer Tests passed.

Line con0 is available.

Press ENTER to get started.

十、使用新密码登录,登录成功

login: admin

Password:

login: admin

Password:

<H3C>%Jun 7 05:26:15:377 2022 H3C SHELL/5/SHELL_LOGIN: -Context=1; admin logged in from con0.

%Jun 7 05:29:02:786 2022 H3C IFNET/3/PHY_UPDOWN: -Context=1; Physical state on the interface GigabitEthernet1/0/1 changed to up.

%Jun 7 05:29:02:786 2022 H3C IFNET/5/LINK_UPDOWN: -Context=1; Line protocol state on the interface GigabitEthernet1/0/1 changed to up.

%Jun 7 05:29:21:362 2022 H3C IFNET/3/PHY_UPDOWN: -Context=1; Physical state on the interface GigabitEthernet1/0/1 changed to down.

%Jun 7 05:29:21:362 2022 H3C IFNET/5/LINK_UPDOWN: -Context=1; Line protocol state on the interface GigabitEthernet1/0/1 changed to down.

%Jun 7 05:29:27:878 2022 H3C IFNET/3/PHY_UPDOWN: -Context=1; Physical state on the interface GigabitEthernet1/0/1 changed to up.

%Jun 7 05:29:27:880 2022 H3C IFNET/5/LINK_UPDOWN: -Context=1; Line protocol state on the interface GigabitEthernet1/0/1 changed to up.

%Jun 7 05:32:45:228 2022 H3C IFNET/3/PHY_UPDOWN: -Context=1; Physical state on the interface GigabitEthernet1/0/1 changed to down.

%Jun 7 05:32:45:229 2022 H3C IFNET/5/LINK_UPDOWN: -Context=1; Line protocol state on the interface GigabitEthernet1/0/1 changed to down.

%Jun 7 05:32:51:742 2022 H3C IFNET/3/PHY_UPDOWN: -Context=1; Physical state on the interface GigabitEthernet1/0/1 changed to up.

%Jun 7 05:32:51:743 2022 H3C IFNET/5/LINK_UPDOWN: -Context=1; Line protocol state on the interface GigabitEthernet1/0/1 changed to up.

Inactive timeo

******************************************************************************

* Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.*

* Without the owner's prior written consent, *

* no decompiling or reverse-engineering shall be allowed. *

******************************************************************************

Line con0 is available.

Press ENTER to get started.

login: admin

Password:

<H3C>%Jun 7 05:48:28:836 2022 H3C SHELL/5/SHELL_LOGIN: -Context=1; admin logged in from con0.

reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

%Jun 7 05:48:36:389 2022 H3C DEV/5/SYSTEM_REBOOT: -Context=1; System is rebooting now.

System is starting...

Press Ctrl D to access BASIC-BOOTWARE MENU...

Press Ctrl T to start heavy memory test

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing........Done.

****************************************************************************

* *

* H3C SecPath BootWare, Version 2.00 *

* *

****************************************************************************

Compiled Date : Sep 12 2017

CPU Type : xlp208

CPU Clock Speed : 1000MHz

Memory Type : DDR3 SDRAM

Memory Size : 2048MB

Memory Speed : 1333MHz

BootWare Size : 768KB

Flash Size : 8MB

CPLDA Version : 2.0

CPLDB Version : 4.0

PCB Version : Ver.A

BootWare Validating...

Press Ctrl B to access EXTENDED-BOOTWARE MENU...

Loading the main image files...

Loading file flash:/f1000fw-cmw710-system-R9323P15.bin......................

............................................................................

.................Done.

Loading file flash:/f1000fw-cmw710-boot-R9323P15.bin........Done.

Image file flash:/f1000fw-cmw710-boot-R9323P15.bin is self-decompressing....

.................................................Done.

System image is starting...

Cryptographic Algorithms Known-Answer Tests are running ...

CPU 0 of slot 1:

Starting Known-Answer tests in the user space.

Known-answer test for SHA1 passed.

Known-answer test for SHA224 passed.

Known-answer test for SHA256 passed.

Known-answer test for SHA384 passed.

Known-answer test for SHA512 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for HMAC-SHA224 passed.

Known-answer test for HMAC-SHA256 passed.

Known-answer test for HMAC-SHA384 passed.

Known-answer test for HMAC-SHA512 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the user space passed.

Starting Known-Answer tests in the kernel.

Known-answer test for AES passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for SHA1 passed.

Known-answer test for GCM passed.

Known-answer test for GMAC passed.

Known-answer test for random number generator passed.

Known-Answer tests in the kernel passed.

Starting Known-Answer tests in the engine.

Known-answer test for SHA1 passed.

Known-answer test for HMAC-SHA1 passed.

Known-answer test for AES passed.

Known-answer test for RSA(signature/verification) passed.

Known-answer test for RSA(encrypt/decrypt) passed.

Known-answer test for DSA(signature/verification) passed.

Known-answer test for random number generator passed.

Known-Answer tests in the engine passed.

Cryptographic Algorithms Known-Answer Tests passed.

Line con0 is available.

Press ENTER to get started.

,