Dies ist eine alte Version des Dokuments!
AP1101 Automatisierung
Erstmal nur als Entwurf hier! -benny
- Prüfen welches AOS-WNG Release
- Konfiguration
- Update des AOS-WNG?
- DHCP, HTTPS, TFTP?
OmniSwitch Modelle bzgl. die Vendor-Class-Identifier unterstützt von OXO:
# OXO <= R910 OmniSwitch-OS6450-P24 OmniSwitch-OS6450-P48 OmniSwitch-OS6450-P10 OmniSwitch-OS6450-P10L OmniSwitch-OS6250-P24 OmniSwitch-OS6450-P24L OmniSwitch-OS6450-P48L # OXO R 10.2 OmniSwitch-OS6350-P24 OmniSwitch-OS6350-P48 OmniSwitch-OS6860-P24 OmniSwitch-OS6860-P48 OmniSwitch-OS6860E-P24 OmniSwitch-OS6860E-P48 # OXO R 10.3 OmniSwitch-OS6350-P10 OmniSwitch-OS6350-10
Switches erwarten os_instruction_file, os_configuration und os_script via DHCP bzgl. TFTP/FTP/SFTP OmniSwitch mit Release 6 nehmen nur eine IP im RCL an wenn alle Informationen vorhanden sind!
# OmniSwitch Instruction File
! Alcatel-Lucent Enterprise OmniSwitch - Instruction file version 1.2.2 ! Firmware version Firmware version:None Firmware location:None ! Configuration file Config filename:os_conf Config location:/tftpboot ! Debug file Debug filename:None Debug location:None ! Script file Script filename:os_script Script location:/tftpboot ! Primary file server Primary server:192.168.92.246 Primary protocol:TFTP Primary user:os_user ! Secondary file server Secondary server:None Secondary protocol:None Secondary user:none
# OmniSwitch Script File
copy working certified
# OmniSwitch Konfiguration
system daylight savings time disable vlan 1 enable name "VLAN 1" ip service all ip interface dhcp-client vlan 1 ifindex 1 ip interface dhcp-client vsi-accept-filter "alcatel.a4400.0" aaa authentication default "local" aaa authentication console "local" bridge mode flat qos enable qos trust ports qos no phones swlog console level info lanpower start 1 webview wlan cluster-virtual-ip 192.168.92.134
AP
- DHCP server (mandatory)
- HTTPS file server (mandatory)
- HTTP file server (mandatory)
Via HTTPS, URL path https:<OXO_IP>/securcfg/ Via HTTP, URL path http:<OXO_IP>/tpcfg/
Instruction Datei muss via DHCP Offer option 67 angeflogen kommen. Die Namen können nicht geändert werden! In Option 66 muss der Server stehen (wird dann wohl TFTP machen danach).
hap_instruction.ini
imgdesc:"http://192.168.92.246/hap_imgdesc.ini" imgurlhead:"http://192.168.92.246/hpimages/" conf:"https://192.168.92.246/hap_conf.ini"
hap_instruction.ini (Benny)
imgdesc:"http://192.168.0.177/oaw/hap_imgdesc.ini" imgurlhead:"http://192.168.0.177/oaw/img/" conf:"http://192.168.0.177/oaw/hap_conf.ini"
(conf: kann auch HTTPS sein!)
hap_conf.ini
config ap option countrycode 'US' option password '123456' option clustervip '192.168.92.134’ config wifi-iface "staff" option ssid 'staff_ssid' option key 'staff_12345678' option network 'vlan1' config wifi-iface "voice" option ssid 'voice_ssid' option key 'voice_87654321' option network 'vlan3' config wifi-iface "guest" option ssid 'guest_ssid' option key ‘guest_23334353’ option network 'vlan1'
hap_conf.ini (Benny)
config ap option countrycode 'DE' option password '123456' option clustervip '192.168.10.200’ config wifi-iface "staff" option ssid 'staff_ssid' option key 'wpakey12345' option network 'vlan11'
hap_imgdesc.ini
config model 'AP1101' option version '2.1.1' option filename 'hos-r21-sysupgrade.bin' option md5 '1234567890'
pi@watchtux:/srv/tftp $ md5sum OAW-AP1101_3.0.0.39.bin f711848f4c8a9b1352400cdffd96ef29 OAW-AP1101_3.0.0.39.bin
hap_imgdesc.ini (Benny)
config model 'AP1101' option version '3.0.0.39' option filename 'OAW-AP1101_3.0.0.39.bin' option md5 'f711848f4c8a9b1352400cdffd96ef29'