What can I do about Shell Scrip function?

CHS Posts: 86  Ally Member
edited April 14 in Security
In maintenance > File manager > Shell Scrip.
What can I do in this function?


  • Zyxel_Charlie
    Zyxel_Charlie Posts: 1,033  Zyxel Employee
    Hello CHS,
    On the Shell Scrip this feature, 
    user can enter the command in order to let device follow instruction and process automatically.
    e.g. The device will backup the configuration before reboot

    You can use schedule run by the following steps:

    (1) Upload a shell script to the device.

    a. The contents of .zysh are:

    copy /conf/startup-config.conf /conf/back-config.conf

    b. save this file as "backupconf.zysh"

    c. upload this file to shell scrip page. (Maintenance > File Manager > Shell Scrip)

    (2) Use CLI command to run the schedule everyday:

    Router(config)# schedule-run 1 backupconf.zysh daily 03:00

  • Mark_Zyxel
    Mark_Zyxel Posts: 112  Zyxel Employee
    Hey there CHS

    I added a link with some scripts you can use for different things


    Kind regards


  • PeterUK
    PeterUK Posts: 1,040  Guru Member

    Here a script I made for changing the DHCP Bootp flags to Unicast on OPT port

Security Highlight