How to Download/upload Configuration File of Zyxell Usg-100 From Cli

File Director

Configuration files define the Zyxel Device's settings. Crush scripts are files of commands that you can store on the Zyxel Device and run when you need them. You lot can apply a configuration file or run a beat out script without the Zyxel Device restarting. You can store multiple configuration files and shell script files on the Zyxel Device.You can edit configuration files or shell scripts in a text editor and upload them to the Zyxel Device. Configuration files use a .conf extension and shell scripts use a .zysh extension.

Configuration Files and Beat out Scripts

When you utilize a configuration file, the Zyxel Device uses the factory default settings for any features that the configuration file does not include. When you run a shell script, the Zyxel Device only applies the commands that information technology contains. Other settings do non alter.

While configuration files and vanquish scripts have the same syntax, the Zyxel Device applies configuration files differently than it runs crush scripts. This is explained below.

Configuration Files and Shell Scripts in the Zyxel Device

Configuration Files (.conf)

Shell Scripts (.zysh)

Resets to default configuration.

Goes into CLI Configuration mode.

Runs the commands in the configuration file.

Goes into CLI Privilege mode.

Runs the commands in the beat out script.

Comments in Configuration Files or Beat out Scripts

In a configuration file or crush script, utilise "#" or "!" as the first graphic symbol of a command line to have the Zyxel Device treat the line equally a comment.

Your configuration files or trounce scripts tin can use "leave" or a control line consisting of a single "!" to accept the Zyxel Device leave sub control mode.

Note: "exit" or "!" must follow sub commands if it is to make the Zyxel Device go out sub control mode.

Errors in Configuration Files or Vanquish Scripts

When yous employ a configuration file or run a shell script, the Zyxel Device processes the file line-by-line. The Zyxel Device checks the get-go line and applies the line if no errors are detected. Then it continues with the adjacent line. If the Zyxel Device finds an error, information technology stops applying the configuration file or shell script and generates a log.

Y'all can change the way a configuration file or shell script is applied. Include setenv stop-on-fault off in the configuration file or crush script. The Zyxel Device ignores whatever errors in the configuration file or shell script and applies all of the valid commands. The Zyxel Device still generates a log for any errors.

Configuration

Use the Configuration screen to store, run, and name configuration files. Yous can also download configuration files from the Zyxel Device to your estimator and upload configuration files from your estimator to the Zyxel Device.

Once your Zyxel Device is configured and operation properly, it is highly recommended that you back upwards your configuration file before making further configuration changes. The fill-in configuration file will be useful in case yous need to return to your previous settings.

Filenames beginning with autoback are automatic configuration files created when new firmware is uploaded. backup-yyyy-mm-dd-hh-mm-ss.conf is the name of the automatic backup when a secure policy is added or changed. Select a configuration file, and so click Apply to apply the file to the Zyxel Device .

Configuration File Menses at Restart

If in that location is not a startup-config.conf when you restart the Zyxel Device (whether through a management interface or by physically turning the power off and dorsum on), the Zyxel Device uses the system-default.conf configuration file with the Zyxel Device's default settings.

If in that location is a startup-config.conf, the Zyxel Device checks it for errors and applies information technology. If there are no errors, the Zyxel Device uses it and copies it to the lastgood.conf configuration file as a back upwardly file. If there is an mistake, the Zyxel Device generates a log and copies the startup-config.conf configuration file to the startup-config-bad.conf configuration file and tries the existing lastgood.conf configuration file. If at that place isn't a lastgood.conf configuration file or it besides has an error, the Zyxel Device applies the system-default.conf configuration file.

Yous can change the mode the startup-config.conf file is applied. Include the setenv-startup stop-on-error off control. The Zyxel Device ignores any errors in the startup-config.conf file and applies all of the valid commands. The Zyxel Device nevertheless generates a log for any errors.

Practice not plough off the Zyxel Device while configuration file upload is in progress.

The following table describes the labels in this screen.

Maintenance > File Manager > Configuration File

Characterization

Description

Rename

Use this push button to change the characterization of a configuration file on the Zyxel Device. You can but rename manually saved configuration files. You cannot rename the lastgood.conf, system-default.conf and startup-config.conf files.

Yous cannot rename a configuration file to the name of another configuration file in the Zyxel Device.

Click a configuration file's row to select it and click Rename to open the Rename File screen.

Specify the new proper noun for the configuration file. Use upwards to 63 characters (including a-zA-Z0-nine;'~!@#$%^&()_+[]{}',.=-).

Click OK to relieve the duplicate or click Cancel to close the screen without saving a duplicate of the configuration file.

Remove

Click a configuration file'southward row to select it and click Remove to delete information technology from the Zyxel Device. You lot tin can only delete manually saved configuration files. You cannot delete the organisation-default.conf, startup-config.conf and lastgood.conf files.

A pop-upwards window asks yous to confirm that you want to delete the configuration file. Click OK to delete the configuration file or click Cancel to close the screen without deleting the configuration file.

Download

Click a configuration file'due south row to select it and click Download to save the configuration to your reckoner.

Re-create

Use this button to save a duplicate of a configuration file on the Zyxel Device.

Click a configuration file'southward row to select it and click Re-create to open the Copy File screen.

Specify a name for the indistinguishable configuration file. Use upwards to 63 characters (including a-zA-Z0-9;'~!@#$%^&()_+[]{}',.=-).

Click OK to save the duplicate or click Cancel to close the screen without saving a duplicate of the configuration file.

Apply

Utilise this button to have the Zyxel Device utilise a specific configuration file.

Click a configuration file's row to select it and click Employ to have the Zyxel Device use that configuration file. The Zyxel Device does not have to restart in gild to use a different configuration file, although y'all volition need to wait for a few minutes while the arrangement reconfigures.

The post-obit screen gives yous options for what the Zyxel Device is to do if it encounters an error in the configuration file.

Immediately stop applying the configuration file - this is non recommended because it would get out the rest of the configuration bare. If the interfaces were not configured earlier the first error, the console port may exist the only mode to access the device.

Immediately finish applying the configuration file and roll dorsum to the previous configuration - this gets the Zyxel Device started with a fully valid configuration file every bit rapidly as possible.

Ignore errors and terminate applying the configuration file - this applies the valid parts of the configuration file and generates error logs for all of the configuration file's errors. This lets the Zyxel Device apply most of your configuration and you tin can refer to the logs for what to fix.

Ignore errors and stop applying the configuration file and then roll back to the previous configuration - this applies the valid parts of the configuration file, generates error logs for all of the configuration file's errors, and starts the Zyxel Device with a fully valid configuration file.

Click OK to have the Zyxel Device start applying the configuration file or click Abolish to close the screen

#

This column displays the number for each configuration file entry. This field is a sequential value, and it is not associated with a specific address. The total number of configuration files that you can save depends on the sizes of the configuration files and the available flash storage infinite.

File Name

This column displays the characterization that identifies a configuration file.

You cannot delete the post-obit configuration files or change their file names.

The arrangement-default.conf file contains the Zyxel Device's default settings. Select this file and click Apply to reset all of the Zyxel Device settings to the factory defaults. This configuration file is included when you upload a firmware parcel.

The startup-config.conf file is the configuration file that the Zyxel Device is currently using. If you brand and salvage changes during your direction session, the changes are applied to this configuration file. The Zyxel Device applies configuration changes made in the Web Configurator to the configuration file when you click Use or OK. It applies configuration changes fabricated via commands when you use the write command.

The lastgood.conf is the most recently used (valid) configuration file that was saved when the device concluding restarted. If yous upload and apply a configuration file with an fault, you lot can apply lastgood.conf to return to a valid configuration.

Size

This column displays the size (in KB) of a configuration file.

Last Modified

This column displays the date and fourth dimension that the individual configuration files were last changed or saved.

Upload Configuration File

The bottom part of the screen allows you to upload a new or previously saved configuration file from your computer to your Zyxel Device

You cannot upload a configuration file named organization-default.conf or lastgood.conf.

If you lot upload startup-config.conf, it will supervene upon the current configuration and immediately apply the new settings.

File Path

Blazon in the location of the file yous want to upload in this field or click Browse ... to detect it.

Browse...

Click Browse... to find the .conf file you want to upload. The configuration file must use a ".conf" filename extension. You lot will receive an mistake message if you try to upload a fie of a dissimilar format. Recall that you must decompress compressed (.zip) files earlier yous tin can upload them.

Upload

Click Upload to begin the upload process. This process may take up to two minutes.

Configuration Schedule Fill-in

Use the Schedule Backup screen to automatically back up the electric current Zyxel Device configuration file according to a schedule, and then transport it to the configured electronic mail addresses.

Characterization

Description

Configure Fill-in Schedule

Mail Bailiwick

Enter a electronic mail subject text with ane-60 characters. It may consist of letters, numbers, and the following special characters: '()+,./:=?;!*#@$%-

Mail To

Enter the receiving email address. You and transport the configuration file to a maximum of five email addresses.

Electronic mail Content

Enter the backup electronic mail trunk text consists of 1-250 ASCII characters.

Enable Motorcar Backup

Select the check box to back up the configuration file at a user defined schedule.

* After the first backup, the support only occurs if the configuration file is different from the previous backed up configuration file.

Daily

Set up the Zyxel Device to back up its configuration file one time a solar day at the specified hour and infinitesimal.

Weekly

Set the Zyxel Device to back up its configuration file in one case a week on the specified day, at the specified hour and minute.

Monthly

Prepare the Zyxel Device to back upwardly its configuration file in one case a calendar month on the specified day, at the a specified hour and minute.

* If the date you select is greater than the number of days in a month, the Zyxel Device automatically backs up its configuration file on the terminal day of the month. For example, if you select 31 and the month is February, the Zyxel Device backs upward its configuration file on mean solar day 28 or 29.

Send Email

Select the check box to have the Zyxel Device sends the current configuration file to the configured email addresses.

Encryption countersign

Enter a password consists of one-31 ASCII characters to add an encryption password to the configuration file in the email.

Use

Click Apply to salve your changes dorsum to the Zyxel Device.

Reset

Click Reset to return the screen to its terminal-saved settings.

Firmware Management

Use the Firmware Direction screen to cheque your current firmware version and upload firmware to the Zyxel Device. You can upload firmware to be the Running firmware or Standby firmware.

Note: The Web Configurator is the recommended method for uploading firmware. Y'all simply need to use the command line interface if you need to recover the firmware. See the CLI Reference Guide for how to determine if you need to recover the firmware and how to recover it.

Observe the firmware file in a folder that (usually) uses the system model name with the model lawmaking and a bin extension. For instance, a firmware for ZyWALL VPN100 is "430ABFV0b2s1.bin".

The Zyxel Device's firmware bundle cannot become through the Zyxel Device when you enable the anti-malware Destroy compressed files that could not be decompressed option. The Zyxel Device classifies the firmware bundle as non being able to be decompressed and deletes it. You tin can upload the firmware package to the Zyxel Device with the choice enabled, so you lot only need to clear the Destroy compressed files that could non be decompressed option while you download the firmware packet.

The firmware update can take upward to v minutes. Do non plough off or reset the Zyxel Device while the firmware update is in progress!

If your Zyxel Device has ii firmware images installed, and i fails to boot (kernel crash, kernel panic, out-of-memory etc.), then the Zyxel Device will automatically use the (good) backup epitome to boot.

Deject Helper

Cloud Helper lets y'all know if there is a later firmware bachelor on the Deject Helper server and lets y'all download it if there is.

Note: Become to myZyxel, create an account and register your Zyxel Device commencement. Then yous will be able to run across links to and get notifications on new firmware bachelor.

At the time of writing, the Firmware Upgrade license providing Cloud Helper new firmware notifications is gratis when you register your Zyxel Device. The license does not expire if you accept firmware version iv.32 patch i and subsequently.

The following table explains the Upgrade icons in the web configurator.

Deject Helper Firmware Icons

Cloud Helper New

A later firmware is available on the Cloud Helper Server. Click this icon to display a What's New pop-up screen. You need a Firmware Upgrade license to upgrade the firmware. If you do not accept a license, Upgrade Now is grayed out. If you have a license, click Upgrade Now to directly upgrade firmware to the standby sectionalisation and have the Zyxel Device reboot automatically and so that the new standby firmware becomes the running firmware. The previous running firmware becomes the standby firmware.

If you haven't registered the Zyxel Device, a message will appear and remind y'all to register it. Also, Upgrade Now is grayed out.

Cloud Helper Downloading

Cloud firmware is existence downloaded from the Deject Helper Server. If yous select some other partitioning or the local firmware upgrade icon, yous will come across the following warning message.

When firmware is downloading, you can interruption, resume, stop or retry the firmware download.

Local Firmware

Employ this if you have already downloaded the latest firmware from the Zyxel website to your estimator and unzipped it.

Click the icon and then browse to the location of the unzipped files.

If yous upload the latest firmware to the running partition, the Zyxel Device will reboot automatically when it finishes uploading.

If you upload the latest firmware to the standby partition, a message will appear to ask if you want to reboot the Zyxel Device.

The Firmware Management Screen

The post-obit table describes the labels in this screen.

Maintenance > File Managing director > Firmware Direction

Label

Clarification

Firmware Status

Reboot

Click the Reboot icon to restart the Zyxel Device. If you applied changes in the Spider web configurator, these were saved automatically and practice not change when yous reboot. If y'all fabricated changes in the CLI, even so, you have to use the write command to save the configuration before you reboot. Otherwise, the changes are lost when you lot reboot.

If you lot desire the Standby firmware to be the Running firmware, and so select the Standby firmware row and click Reboot. Await a few minutes until the login screen appears. If the login screen does not appear, clear your browser cache and refresh the screen or type the IP address of the Zyxel Device in your Web browser again.

You can as well utilise the CLI command reboot to restart the Zyxel Device.

#

This displays the system space (partition) index number where the firmware is located. The firmware can be either Standby or Running; only one firmware tin be running at whatsoever 1 time.

Status

This indicates whether the firmware is Running, or not running simply already uploaded to the Zyxel Device and is on Standby. It displays N/A if there is no firmware uploaded to that system space.

Model

This is the model proper name of the device which the firmware is running on.

Version

This is the firmware version and the engagement created.

Released Engagement

This is the date that the version of the firmware was created.

Upgrade

A cloud helper icon displays if in that location is a afterwards firmware on the Cloud Server than the firmware in the division. Click the cloud helper icon to download a later firmware from the Cloud Helper Server.

Use the local firmware icon if you accept already downloaded the latest firmware from the Zyxel website to your estimator and unzipped it.

Cloud Firmware Data

You must register your Zyxel Device at myZyxel first to use cloud firmware.

Latest Version

This displays the latest firmware version at the Cloud Helper Server. Click Cheque Now to see if there is a later firmware at the Cloud Server.

Release Appointment

This displays the engagement the latest firmware version was made available.

Release Note

The release note contains details of latest firmware version such as new features and bug fixes.

Automobile Update

Select this check box to have the Zyxel Device automatically bank check for and download new firmware to the standby partition at the fourth dimension and day specified.

Yous should select a fourth dimension when your network is not decorated for minimal break.

* You cannot enable Auto Update in File Manager > Firmware Management and Schedule Reboot in Maintenance > Shutdown-Reboot at the aforementioned fourth dimension.

Daily

Select this option to have the Zyxel Device check for new firmware every twenty-four hours at the specified time. The time format is the 24 hour clock, so '0' ways midnight for case.

Weekly

Select this selection to take the Zyxel Device check for new firmware once a week on the day and at the time specified.

Auto Reboot

Select this to have the newly downloaded firmware in the standby sectionalisation become the running firmware after the Zyxel Device automatically restarts.

Firmware Upgrade Service Status

Service Status

This field displays whether the firmware license service is activated at myZyxel (Activated) or not (Not Activated).

After you meet the Firmware Upload in Process screen, look a few minutes before logging into the Zyxel Device over again.

Note: The Zyxel Device automatically reboots subsequently a successful upload.

The Zyxel Device automatically restarts causing a temporary network disconnect.

Afterwards 5 minutes, log in again and check your new firmware version in the Dashboard screen.

Firmware Upgrade via USB Stick

In addition to uploading firmware via the spider web configurator or panel port (see the CLI Reference Guide), you can also upload firmware directly from a USB stick connected to the Zyxel Device.

1 Create a folder on the USB stick called '/[ProductName_dir]/firmware'. For example, if your Zyxel Device is USG110, then create a '/usg110_dir/firmware/' binder on the stick.

ii Put i firmware 'bin' file into the firmware folder. Make sure the firmware ID and version number are correct for your model (the firmware ID is in brackets after the firmware version number - for USG100 it is AAPH).

Note: Do not put more than one firmware 'bin' file into the firmware binder.

The firmware version in the USB stick must be different to the currently running firmware. If the firmware on the USB stick is older, then the Zyxel Device will 'upgrade' to the older version. It is recommended that the firmware on the USB stick be the latest firmware version.

3 Insert the USB stick into the Zyxel Device. The firmware uploads to the standby system infinite.

4 The SYS LED blinks when the Zyxel Device automatically reboots making the upgraded firmware in standby become the running firmware.

Notation: If the startup-config.conf configuration file has problems and you are upgrading to iv.25 or after firmware, then the Zyxel Device will revert (failover) to the previously running firmware.

If the startup-config.conf configuration file has bug and you are upgrading to earlier than 4.25 firmware, so the Zyxel Device uses the new earlier firmware, but generates a log and tries the existing lastgood.conf configuration file. If there isn't a lastgood.conf configuration file or information technology also has an error, the Zyxel Device applies the organisation-default.conf configuration file.

Crush Script

Use shell script files to have the Zyxel Device execute commands that you specify. Use a text editor to create the shell script files. They must use a ".zysh" filename extension.

Use the Shell Script screen to shop, name, download, upload and run shell script files. You lot can store multiple shell script files on the Zyxel Device at the same time.

Annotation: Y'all should include write commands in your scripts. If you do not use the write command, the changes will exist lost when the Zyxel Device restarts. Y'all could employ multiple write commands in a long script.

Meet Scripts for more data on scripts.

Each field is described in the following table.

Maintenance > File Director > Shell Script

Label

Description

Rename

Apply this button to change the label of a trounce script file on the Zyxel Device.

You cannot rename a shell script to the proper noun of another vanquish script in the Zyxel Device.

Click a shell script'southward row to select information technology and click Rename to open the Rename File screen.

Specify the new name for the crush script file. Use upwards to 63 characters (including a-zA-Z0-ix;'~!@#$%^&()_+[]{}',.=-).

Click OK to save the duplicate or click Cancel to close the screen without saving a duplicate of the configuration file.

Remove

Click a vanquish script file'south row to select it and click Remove to delete the vanquish script file from the Zyxel Device.

A pop-upwards window asks you to confirm that you want to delete the shell script file. Click OK to delete the shell script file or click Cancel to close the screen without deleting the vanquish script file.

Download

Click a beat script file'south row to select it and click Download to salvage the configuration to your computer.

Re-create

Use this button to relieve a duplicate of a beat out script file on the Zyxel Device.

Click a vanquish script file'south row to select information technology and click Re-create to open up the Copy File screen.

Specify a name for the duplicate file. Use up to 63 characters (including a-zA-Z0-ix;'~!@#$%^&()_+[]{}',.=-).

Click OK to save the indistinguishable or click Cancel to close the screen without saving a duplicate of the configuration file.

Utilize

Use this push button to take the Zyxel Device use a specific trounce script file.

Click a shell script file's row to select it and click Apply to have the Zyxel Device employ that beat script file. You lot may need to wait awhile for the Zyxel Device to cease applying the commands.

File Name

This column displays the characterization that identifies a trounce script file.

Size

This column displays the size (in KB) of a trounce script file.

Final Modified

This column displays the appointment and fourth dimension that the individual shell script files were final inverse or saved.

Upload Shell Script

The bottom part of the screen allows you lot to upload a new or previously saved shell script file from your estimator to your Zyxel Device.

File Path

Type in the location of the file yous want to upload in this field or click Browse ... to find it.

Scan...

Click Scan... to find the .zysh file you want to upload.

Upload

Click Upload to begin the upload process. This process may take up to several minutes.

fairmanaladvid.blogspot.com

Source: http://webhelp.zyxel.com/wohView/help_docs/USG%20FLEX%20100_V4.62_ABUH/USG%20FLEX%204-60/h_FileManager.html

0 Response to "How to Download/upload Configuration File of Zyxell Usg-100 From Cli"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel