要一台一台設定或是更新Firmware實在是很痛苦
從AOS Version 6.4.3開始就有自動設定的功能
以下就來說明如何操作
這個功能支援的型號是
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
詳細的說明可至Alcatel-Lucent官網下載Network Configuration Guide
======== 基本環境 ========
環境內必須要有DHCP Server, TFTP Server
(FTP or SFTP Server)非必要
設備是處於default的狀態(尚未產生boot.cfg, OK1 LED處於橘色閃爍)
自動設定結構檔(instruction file) : 這是此功能最重要的檔案, 必須存放在tftp server, 副檔名必須為*.alu
設備設定檔(configuration file) : 可有可無, 任意檔名
除錯檔(debug file) : 可有可無, 檔名必須為AlcatelDebug.cfg
指令檔(script file) : 這個比較常用, 格式就跟我們輸入command一樣, 任意檔名
韌體檔(firmware or image file) : 附檔名為*.img
================
在我的Lab裡是將DHCP, TFTP裝在同一個Guest OS裡面
OS是用Ubuntu 10.04.4 LTS
套件為 dhcp3-server, tftpd
======== dhcpd.conf ========
option tftp-server-name "192.168.1.254"; option bootfile-name "OS6400.alu"; option domain-name "autoconfig.com.tw"; option domain-name-servers 192.168.1.254; default-lease-time 600; max-lease-time 7200; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.1 192.168.1.100; }這裡會用到dhcp option 66, 67
tftp-server-name(66) : 指定tftp server ip
bootfile-name(67) : 指定instruction file
================
======== instruction file ========
! Alcatel-Lucent OmniSwitch OS6400 ! Firmware version Firmware version:OS_6_4_4_463_R01 Firmware location:/srv/tftp ! Configuration file Config filename:None Config location:None ! Debug file Debug filename:None Debug location:None ! Script File Script filename:OS6400_script.txt Script location:/srv/tftp ! Primary file Server Primary server:192.168.1.254 Primary protocol:TFTP Primary user:root ! Secondary file Server Secondary server:None Secondary protocol:None Secondary user:None================
instruction內的格式不可以變動
若某一項沒有用到, 可在後面加上None
ex. Debug filename:None
Firmware Version的格式必須要如上述所示
當環境都準備好後就可將設備接上電源
設備開機, 顯示ni ready後就會準備啟動remote configure
設備會判斷本身的firmware是否與instruction內不相同
不相同就會進行更新動作
更新完畢就會重新開機
開機完畢後就會進行下一個動作 configure, debug, script
沒有留言:
張貼留言