Print text.
Description
Print text to the console.Usage
echo [<String>]...
Options
Show help for selected topic.
Description
The help system contains information about commands and configuration object types.The fastest way to get help is to simply type help followed by the topic that you want help with. A topic can be for example a command name (e.g. set) or the name of a configuration object type (e.g. User).
When you don't know the name of what you are looking for you
can specify the category of the wanted topic with the -category
option and use tab-completion to display a list
of matching topics.
Usage
helpList commands alphabetically.
help <Topic>Display help about selected topic from any category.
help -category={COMMANDS | TYPES} [<Topic>]Display help from a specific topic category.
Options
Dump history to screen.
Description
List recently typed commands that have been stored in the command history.Usage
history
Show management status and enable local configuration.
Description
Show management status, and regain local configuration control if the centralized management system has it.If the centralized management system has taken control of the system, any single user may not do configuration changes to the system. In order to regain local configuration control to single users this command is used. Once local configuration is enabled, centralized management control can only be enabled by the centralized management system.
Usage
localconfiguration [-enable]
Options
![]() |
Note |
---|---|
Requires Administrator privileges. |
Display and filter system log messages.
Description
The logsnoop command can be used to display system log events. The source of the log events can be MemLog, real-time or both MemLog followed by real-time logs.MemLog searching will only be functioning if a LogReceiverMemory object has been configured.
Since the system log rate may be high, displaying real time logs must be done with some caution. For this purpose, it is possible to limit the real time log display rate.
When filtering for log messages to display, there are many parameters that can be filtered on. The most powerful filtering tool is the wildcard matching in which the charcter '*' is interpreted as none/many characters and '?' as any single character.
It should be noted that all log filtering will have a negative effect on system performance.
Example 2.18. Show log message having 'warning' followed by 'udp' somewhere in the message
:/> logsnoop -on -pattern=*warning*udp*
Usage
logsnoop -on [-source={MEMLOG | REALTIME | BOTH}] [-category=<String>] [-logid=<Integer>] [-event=<String>] [-action={NONE | DROP | ALLOW | BLOCK | REJECT | <String>}] [-severity={EMERGENCY | ALERT | CRITICAL | ERROR | WARNING | NOTICE | INFO | DEBUG}] [-starttime=<DateTime>] [-endtime=<DateTime>] [-pattern=<String>] [-srcip=<IPAddress>] [-destip=<IPAddress>] [-srcport=<0...65535>] [-destport=<0...65535>] [-srcif=<Interface>] [-destif=<Interface>] [-ipproto={TCP | UDP | ICMP | <String>}] [-rate=<Integer>] [-num=<Integer>]Start log session.
logsnoop -offStop log session.
logsnoopShow log snoop status.
Options
![]() |
Note |
---|---|
Requires Administrator privileges. |
Lists device data accessible by SCP.
Description
Lists device data which are available through SCP.Example 2.23. Transfer script files to and from the device
Upload: scp myscript user@fw-ip:script/myscript Download: scp user@fw-ip:script/myscript ./myscript
In addition to the files listed it is possible to upload license, certificates and ssh public key files.
Certificates and ssh client key objects are created if they do not exist.
Example 2.25. Upload certificate data
scp certificate.cer user@fw-ip:certificate/certificate_name scp certificate.key user@fw-ip:certificate/certificate_name
Usage
Options
Handle CLI scripts.
Description
Run, create, show, store or delete script files.Script files are transferred to and from the device by the SCP protocol. On the device they are stored in the "/script" folder.
Example 2.27. Execute script
"script.sgs": add IP4Address Name=$1 Address=$2 Comment="$0: \$100". :/> script -execute -name=script.sgs ip_test 127.0.0.1 is executed as line: add IP4Address Name=ip_test Address=127.0.0.1 Comment="script.sgs: $100"
Usage
script -create [[<Category>] <Type> [<Identifier>]] [-name=<Name>]Create configuration script from specified object, class or category.
script -execute [-verbose] [-force] [-quiet] -name=<Name> [<Parameters>]...Execute script.
script -show [-all] [-name=<Name>]Show script in console window.
script -store [-all] [-name=<Name>]Store a script to persistent storage.
script -remove [-all] [-name=<Name>]Remove script.
scriptList script files.
Options
![]() |
Note |
---|---|
Requires Administrator privileges. |