Zyxel ZyWALL USG 50 [141/185] Zywall usg support notes

Zyxel ZyWALL USG 20 [141/185] Zywall usg support notes
ZyWALL USG Support Notes
141
All contents copyright (c) 2010 ZyXEL Communications Corporation.
C04. What is the Shell Scripts for in GUI menu File manager >
Shell Scripts?
Shell scripts are files of commands that you can store on the ZyWALL and run when
you need them. When you run a shell script, the ZyWALL only applies the commands
that it contains. Other settings do not change.
C05. How to write a shell script?
You can edit shell scripts in a text editor and upload them to the ZyWALL USG
through GUI menu File manager > Shell Script tab. Some notes as followings.
Must follow ZyWALL USG CLI syntax
Must add “configure terminal” at the beginning of the script file.
Must save as a “.zysh ” file extension.
An example is shown below.
# enter configuration mode
configure terminal
# change administrator password
username admin password 4321 user-type admin
# add a user „anne and set both the lease and re-auth time to 1440 sec.
username anne user-type ext-user
username anne description External User
username anne logon-lease-time 1440
username anne logon-re-auth-time 1440
exit
write
C06. Why cant I run shell script successfully?
Please ensure that you follow the correct CLI command syntax to write this script.
And make sure that you add the configure terminal in the top line of this script
file.

Содержание

Похожие устройства

Скачать