自學Aruba4.2-Aruba AC基礎配置(1)
管理員登陸(admin/saic_admin):
- Cli
- Web
- 管理帳號
控制器基礎設置:
- 控制器恢復出廠設置
- 查看控制器序列號及ArubaOS鏡像
- 控制器升級OS
- 許可證導入
- 配置備份和恢復
1. 管理員登陸(admin/saic_admin):
1.1 Cli登陸
- Baud Rate: 9600
- Data Bits :8
- Parity :None
- Stop Bits: 1
- Flow Control: None
1 User: admin 2 Password: ***** 3 (Aruba7200) >en 4 Password:****** 5 (Aruba7200) #configure termail 6 Enter Configuration commands, one per line. End with CNTL/Z
1.2 管理帳號密碼修改
#mgmt-user <username> <role>
1 (Aruba7200) (config) #mgmt-user admin root 2 Password:***** 3 Re-Type password:*****
(Aruba7200) (config) #
enable密碼修改:
(Aruba7200) (config) #enable secret Password:****** Re-Type password:******
1.3 Web登陸
如果AC啟用了web登陸權限,就可以通過: https://<Controller’s IP address> 登陸AC
2. 控制器基礎配置
2.1 控制器恢復出廠設置
- write erase只刪除配置文件
- write erase all將刪除配置文件、控制器內部數據庫及license,將控制器重置為出廠狀態。
重要:
在恢復出廠設置之前備份控制器的License。
1 (Aruba7200) #write erase 2 All the configuration will be deleted. Press 'y' to proceed : 3 Write Erase successful
1 (Aruba7200) #write erase all 2 Switch will be factory defaulted. All the configuration and databases will be deleted. Press 'y' to proceed : 3 (Aruba7200) # 4 (Aruba7200) # 5 (Aruba7200) #reload 6 Do you really want to reset the system(y/n): y 7 System will now restart!
2.2 查看控制器序列號及ArubaOS鏡像
show inventory

show boot
2.3 控制器升級os
2.3.1 查看當前控制器版本:
- 系統flash 中有兩個partition 用於存放OS image 文件,可以存放兩個不同版本的OS。
- 當前運行的版本以**Default boot**標示。升級時需選擇partition,升級完成后重啟控制器會自動以最新升級的partition啟動。
升級支持ftp和tftp,建議使用tftp。
2.3.2 上傳新版本OS文件到控制器
1 (YK_Master) #copy tftp: 172.18.x.x ArubaOS_6xx_6.4.5.1_32786 system: partition 1 2 Copying file:................................................................................................................................................. 3 File copied successfully. 4 Saving file to flash: 5 ..................................................................................................................................................................................................... 6 The system will boot from partition 1 during the next reboot.
2.3.3 重啟控制器
1 (YK_Master) #reload(注:控制器重啟后會采用新的版本運行)
2.4 許可證license導入
- 可以通過web界面添加
- 可以通過命令行添加
(Aruba650) # license add xkPyoagm-ums1pGzf-hoVpMq2L-ckPetlSp-ZED6PCqq-jTU The limit for Access Points has been constrained to the platform limit [64]
注意: Flags位置若是顯示ER,則表示需要重啟,許可證才能生效。
2.5 配置備份和恢復
- 在AC上進行配置文件備份
- 用TFTP服務器進行配置文件備份
2.5.1 查看文件
2.5.2 在AC上進行配置文件備份
①配置備份
1 (YK_Master) #copy running-config flash: default.cfg_writemem_2017-12-29_10-07-11 ##備份當前配置文件 2 (YK_Master) #copy startup-config flash: default.cfg_writemem_2017-12-29_10-07-11_01 ##備份已保存配置文件 3 (YK_Master) #copy flash: default.cfg flash: default.cfg_writemem_2017-12-29_10-07-11_03.cfg ##備份默認加載文件
②備份恢復
1 (YK_Master) # copy flash: default.cfg_writemem_2017-12-29_10-07-11_03.cfg flash: default.cfg ##恢復配置
③重啟控制器
3.用TFTP服務器進行配置文件備份
①上傳文件
1 (YK_Master) # copy flash: default.cfg_writemem_2017-12-29_10-07-11_03.cfg tftp: 172.18.x.x config.tx
②下載文件
1 (YK_Master) # copy tftp: 172.18.x.x config.txt flash:default.cfg_writemem_2017-12-29_10-07-11_03.cfg ##從TFTP下載到flash 2 (YK_Master) # copy flash:default.cfg_writemem_2017-12-29_10-07-11_03.cfg flash: default.cfg ##覆蓋原來的default.cfg
③重啟控制器
1 (YK_Master) # reload
待續 ....