Fortinet FortiLog-400 User Manual
Page 108
108
05-16000-0082-20050115
Fortinet Inc.
CLI commands
FortiLog CLI reference
Commands
Description
set system admin username
| readwrite}
Enter system administrator user name, password, and access permission.
•
•
set system admin username
or <0.0.0.0>
<0.0.0.0>
Enter the administrator trusted host IP address and netmask. The trusted host IP
address is the location from which the administrator can log into the web-based
manager. If trusted host is 0.0.0.0 the administrator can log in from any IP address.
The trusted host netmask is the location from which the administrator can log into
the web-based manager. If netmask is 0.0.0.0 there is no restriction on the netmask.
•
•
set system admin username status
set system dns primary
{xxx.xxx.xxx.xxx | none}
Enter the primary DNS server IP address. Enter none to delete the primary DNS
server.
•
set system dns secondary
{xxx.xxx.xxx.xxx | none}
Enter the secondary DNS server IP address. Enter none to delete the secondary
DNS server.
•
set system hostname
•
set system interface
allowaccess {ping | https | ssh | snap |
http | telnet}
Select the management access to the FortiLog unit interface (port1).
•
set system interface
denatures {ping | https | ssh | snap |
http | telnet}
Select the management access that you want to deny to the FortiLog unit interface
(port1).
•
set system interface
wins
Enter the WINS server IP address.
•
set system interface
matador {xx:xx:xx:xx:xx:xx | factory
default}
Set the mac address for this interface. You can also set it back to the factory default
value.
•
set system interface
log {enable | disable}
Enable or disable logging on traffic to the FortiLog unit from this interface.
set system interface
mtu
Enter the maximum transportation unit for this interface. Enter “default” to cancel the
mtu.
•
set system interface
speed
Enter the transportation speed of this interface.
•
set system interface
status {down | up}
Set the interface down or up.
set system interface
secip
Enter the secondary IP address of the interface.
•
set system interface
secallowaccess {ping | https | ssh |
snmp | http | telnet}
Select management access to the port1 interface with a secondary IP.
set system interface
secdenyaccess {ping | https | ssh |
snmp | http | telnet}
Select the management access with a secondary IP that you want to deny to the
port1 interface.