beautypg.com

Fortinet FortiLog-400 User Manual

Page 108

background image

108

05-16000-0082-20050115

Fortinet Inc.

CLI commands

FortiLog CLI reference

Commands

Description

set system admin username
password
permission {readonly
| readwrite}

Enter system administrator user name, password, and access permission.
is the administrator user name.
is the password.

set system admin username
trusthost
or <0.0.0.0> or
<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.
is trusted host IP address.
is 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.
is the primary DNS server IP address.

set system dns secondary
{xxx.xxx.xxx.xxx | none}

Enter the secondary DNS server IP address. Enter none to delete the secondary

DNS server.
is the secondary DNS server IP address.

set system hostname Enter the name for this FortiLog unit.

is the name of the FortiLog unit.

set system interface config
allowaccess {ping | https | ssh | snap |
http | telnet}

Select the management access to the FortiLog unit interface (port1).
is system interface name.

set system interface config
denatures {ping | https | ssh | snap |
http | telnet}

Select the management access that you want to deny to the FortiLog unit interface

(port1).
is system interface name.

set system interface config
wins

Enter the WINS server IP address.
is the WINS server IP address.

set system interface config
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.
is the interface mac address.

set system interface config
log {enable | disable}

Enable or disable logging on traffic to the FortiLog unit from this interface.

set system interface config
mtu

Enter the maximum transportation unit for this interface. Enter “default” to cancel the

mtu.
is the maximum transportation unit for this interface.

set system interface config
speed

Enter the transportation speed of this interface.
is the speed type (auto, 10full, 10half, 100full, or 100half).

set system interface config
status {down | up}

Set the interface down or up.

set system interface config
secip

Enter the secondary IP address of the interface.
is the secondary IP address of the interface.

set system interface config
secallowaccess {ping | https | ssh |
snmp | http | telnet}

Select management access to the port1 interface with a secondary IP.

set system interface config
secdenyaccess {ping | https | ssh |
snmp | http | telnet}

Select the management access with a secondary IP that you want to deny to the

port1 interface.

This manual is related to the following products: