EasyManua.ls Logo

Belair 20E - Table 20: Common Belairos Platform Assembly Codes; Reboot Script Example

Default Icon
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BelAir20E User Guide Scripting Guidelines
April 2, 2012 Confidential Page 233 of 255
Document Number BDTM02201-A01 Standard
commands at the end of the script are executed. The second time the
auto-configuration script is run (during the second startup), the NAT
commands do not change the NAT settings. Hence the condition for the
int-db-change-start
declaration is false, and the
config-save
and
reboot
commands at the end of the script are not executed.
Reboot Script Example The following is a listing of a typical script:
int-wifi-2.4GHz-1
set channel 11
set admin-state enabled
show config
int-stop
int-wifi-5GHz-1
set channel 155
set backhaul admin-state disabled
show config
config-save
int-BELAIR-20
check-db-change-start
/protocol/nat/set scope 1 dhcp-server vlan 401 based-ip 45.89.233.0 lease-time 30
/protocol/nat/set scope 1 status enabled
/protocol/nat/set admin-state enabled
check-db-change-stop
int-stop
int-db-change-start
config-save
/system/reboot
y
int-stop
Common
BelAirOS
Platform
Assembly Codes
This section lists the most common BelAirOS platform assembly codes that can
be used when specifying a physical interface in a script. Additional assembly
codes are possible. For details, contact your BelAir Networks representative.
Table 20: Common BelAirOS Platform Assembly Codes
Platform Assembly Code
BelAir200-12 BELAIR200_12
BelAir200-13 BELAIR200_13
BelAir200-04 BELAIR200_04
BelAir200-13R BELAIR200_13R

Table of Contents

Belair 20E - Table 20: Common Belairos Platform Assembly Codes; Reboot Script Example