This topic applies to Logger Appliances only.
The Logger appliance CLI enables you to start and stop the appliance as well as issue commands for the Logger application.
Use one of the following methods to connect to the appliance Command Line Interface (CLI):
Once you are connected to the CLI, a Login prompt displays.
The following commands are available at the CLI prompt:
|
Category |
Command |
Description |
|---|---|---|
| System Commands | ||
|
|
exit |
Logout |
|
|
halt |
Stop and power down the Logger Appliance |
|
help |
Opens the command line interface help |
|
|
reboot |
Reboot the Logger Appliance |
|
|
Admin Commands |
||
|
|
show admin |
Show the default administrator user’s name |
|
Authentication Commands |
||
|
|
reset authentication |
Reset to local authentication |
|
Config Commands |
||
|
|
show config |
Show host name, IP address, DNS, and default gateway for the Logger |
| Date Commands | ||
|
|
show date |
Show the date and time currently configured on the Logger |
|
|
set date |
Set the date and time on Logger. The date/time format is yyyyMMddhhmmss. |
|
Default Gateway Commands |
||
|
|
set defaultgw <IP> [nic] |
Set the default gateway for one or all network interfaces |
|
|
show defaultgw [nic] |
Display the default gateway for all or the specified network interface |
|
DNS Commands |
||
|
|
show dns |
Show the currently configured DNS servers on the Logger |
|
|
set dns <sd> <ns> set dns <sd1>,<sd2> <ns1> <ns2> |
Set DNS name server(s). sd=search domain, ns = name server You can add up to three name servers and six search domains. Note: When using multiple search domains, separate them with a comma, but no space. When using multiple name servers separate them with a space but no comma. |
|
Hostname Commands |
||
|
|
show hostname |
Show the currently configured hostname on the Logger |
|
|
set hostname <host> |
Set Logger’s host name |
|
IP Commands |
||
|
|
show ip [nic] |
Show the IP addresses of all or the specified network interface |
|
set ip <nic> <IP> [/prefix] [netmask] |
Set Logger’s IP address for a specific network interface |
|
|
NTP Commands |
||
|
|
set ntp <ntp server> <ntp server> <ntp server> ... |
Sets the NTP server addresses. This entry over writes the current NTP server setting. You can specify as many NTP servers as you like. If you specify multiple NTP servers, they are each checked in turn. The time given by the first server to respond is used. Example:
|
|
|
show ntp |
Show the current NTP server setting. Example:
|
|
Password Commands |
||
|
|
set password |
Set the password the current user’s account |
|
Process Commands Important: Micro Focus recommends that you do not stop
the servers process. To shut down Logger Appliances, use the
halt or reboot
commands, or perform a system reboot from the UI. For more information,
see System Reboot.
Never stop the Logger servers process while events are still coming in, this can cause data loss. If you must stop the servers process, be sure to stop the receivers process first, then stop the servers process. |
||
|
|
restart process |
Restart a process |
|
|
start process |
Start a process |
|
|
status process |
Show process status |
|
|
stop process |
Stop a process |
|
SSL Certificate Commands |
||
|
|
show sslcert |
Show the currently loaded SSL certificate on Logger |
|
|
reset sslcert |
Creates and installs a new self-signed certificate with the original default information, then restarts the HTTPS server. |
|
|
diag sslcert |
Display the SSL session information |
|
Status Commands |
||
|
|
show status |
Show the Logger configuration |