2
User and Privilege Modes
This chapter describes how to use these two modes.
2.1 User And Privilege Modes
This is the mode you are in when you first log into the CLI. (Do not confuse ‘user mode’ with types of user accounts the ZyWALL uses. See Chapter 26 on page 229 for more information about the user types. ‘User’ type accounts can only run ‘exit’ in this mode. However, they may need to log into the device in order to be authenticated for
Type ‘enable’ to go to ‘privilege mode’. No password is required. All commands can be run from here except those marked with an asterisk. Many of these commands are for
For admin logins, all commands are visible in ‘user mode’ but not all can be run there. The following table displays which commands can be run in ‘user mode’. All commands can be run in ‘privilege mode’.
The htm and psm commands are for ZyXEL’s internal manufacturing process.Table 4 User (U) and Privilege (P) Mode Commands
COMMAND | MODE | DESCRIPTION |
apply | P | Applies a configuration file. |
atse | U/P | Displays the seed code |
clear | U/P | Clears system or debug logs or DHCP binding. |
configure | U/P | Use ‘configure terminal’ to enter configuration mode. |
copy | P | Copies configuration files. |
debug (*) | U/P | For support personnel only! The device needs to have the debug flag enabled. |
delete | P | Deletes configuration files. |
details | P | Performs diagnostic commands. |
diag | P | Provided for support personnel to collect internal system information. It is not recommended |
|
| that you use these. |
P | Has the ZyWALL create a new diagnostic file. | |
dir | P | Lists files in a directory. |
disable | U/P | Goes from privilege mode to user mode |
enable | U/P | Goes from user mode to privilege mode |
| 33 |
ZyWALL (ZLD) CLI Reference Guide | |
|
|