2018年7月20日 星期五

HPE 5130恢復原廠預設

HPE 5130 switch

重設密碼

console 線連接
拔電 重插
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Press Ctrl+T to start memory test
Ctrl-D 進入 BASIC BOOT MENU
Press Ctrl-B to enter Extended Boot menu..
隨後 Ctrl-B 進入 Extended Boot menu
Password recovery capability is enabled.

   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. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Reserved
9. Set switch startup mode
0. Reboot
Ctrl+F: Format File System
Ctrl+P: Skip Super Password
Ctrl+R: Download application to SDRAM and Run
Ctrl+Z: Access EXTEND-ASSISTANT MENU

Enter your choice(0-9): 7
選擇 7 Skip current system configuration
The current setting will run with current configuration file when reboot.
Are you sure you want to skip current configuration file when reboot? Yes or No
(Y/N):Y
問你下次重開是否跳過目前設定 選 Y
0. Reboot
回到主選單 選擇 重新開機 Reboot
重開機之後進系統
砍掉啟動設定檔
delete startup.cfg
或是回復舊的設定
reset saved-configuration main
最後重開機
reboot
就不用打密碼了

設定新密碼

system-view
[HPE]local-user admin
[HPE-luser-manager-admin]password  simple 密碼
[HPE-luser-manager-admin]service-type http ssh terminal
[HPE-luser-manager-admin]save
[HPE-luser-manager-admin]exit

改 ip 並啟用網頁服務

system-view
[HPE]interface Vlan-interface 1
[HPE-Vlan-interface1]ip address 10.1.1.1 255.255.255.0
[HPE-Vlan-interface1]exit
[HPE] ip http enable
[HPE]save
 
 
取消IRF

Console 接到Device A
[IRF1] ]interface Ten-GigabitEthernet 1/1/2
[IRF1]shutdown
[IRF1]undo irf-port 1/2
[IRF1]save
重開機

Console 接到Device B
[IRF1] ]interface Ten-GigabitEthernet 2/1/1
[IRF1]shutdown
[IRF1]undo irf-port 2/1
[IRF1]save
重開機

將模組上的連接線拆除
 

2 則留言:

  1. HP DL380 Gen9 Rack Server in UAE, Proliant 2U Rack Server in UAE, Rack Server in UAE
    https://gccgamers.com/hp-dl380.html
    HP DL380 Gen9 Rack Server in UAE, Safe Shopping Multiple Payment Options Express Delivery GCC Gamers Moneyback Guarantee.
    1634533176365-7

    回覆刪除
  2. HP DL380 Gen9 Rack Server in UAE, Proliant 2U Rack Server in UAE, Rack Server in UAE
    https://gccgamers.com/hp-dl380.html
    HP DL380 Gen9 Rack Server in UAE, Safe Shopping Multiple Payment Options Express Delivery GCC Gamers Moneyback Guarantee.
    1634533291722-9

    回覆刪除