config log npu-server
This command is available for model(s): FortiGate 1800F, FortiGate 1801F, FortiGate 2600F, FortiGate 2601F. It is not available for: FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 140E-POE, FortiGate 140E, FortiGate 1500DT, FortiGate 1500D, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 3000D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 5001E1, FortiGate 5001E, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R. |
Configure all the log servers and create the server groups.
config log npu-server Description: Configure all the log servers and create the server groups. set log-processing [may-drop|no-drop] set log-processor [hardware|host] set netflow-ver [v9|v10] config server-group Description: create server group. edit <group-name> set log-mode [per-session|per-nat-mapping|...] set log-format [syslog|netflow] set log-user-info [disable|enable] set log-gen-event [disable|enable] set log-tx-mode [roundrobin|multicast] set sw-log-flags [tcp-udp-only|enable-all-log|...] set server-number {integer} set server-start-id {integer} next end config server-info Description: configure server info. edit <id> set vdom {string} set ip-family [v4|v6] set ipv4-server {ipv4-address-any} set ipv6-server {ipv6-address} set source-port {integer} set dest-port {integer} set template-tx-timeout {integer} next end set syslog-facility {integer} set syslog-severity {integer} end
config log npu-server
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-processing |
configure log processed by host to drop or no drop. |
option |
- |
no-drop |
||||||
|
|
|||||||||
log-processor |
configure the log module. |
option |
- |
hardware |
||||||
|
|
|||||||||
netflow-ver |
configure the netfow verson. |
option |
- |
v10 |
||||||
|
|
|||||||||
syslog-facility |
configure the syslog facility. |
integer |
Minimum value: 0 Maximum value: 255 |
23 |
||||||
syslog-severity |
configure the syslog severity. |
integer |
Minimum value: 0 Maximum value: 255 |
5 |
config server-group
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
group-name |
server group name. |
string |
Maximum length: 35 |
|
||||||||
log-mode |
Set the log mode |
option |
- |
per-session |
||||||||
|
|
|||||||||||
log-format |
Set the log format |
option |
- |
netflow |
||||||||
|
|
|||||||||||
log-user-info |
Enable/disbale logging user information. |
option |
- |
disable |
||||||||
|
|
|||||||||||
log-gen-event |
Enable/disbale generating event for Per-Mapping log |
option |
- |
disable |
||||||||
|
|
|||||||||||
log-tx-mode |
Configure log transmit mode. |
option |
- |
roundrobin |
||||||||
|
|
|||||||||||
sw-log-flags |
Set flags for software logging via driver. |
option |
- |
tcp-udp-only |
||||||||
|
|
|||||||||||
server-number |
server number in this group. |
integer |
Minimum value: 1 Maximum value: 16 |
1 |
||||||||
server-start-id |
the start id of the continuous server series in this group,[1,16]. |
integer |
Minimum value: 1 Maximum value: 16 |
0 |
config server-info
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
id |
server id. |
integer |
Minimum value: 1 Maximum value: 16 |
0 |
||||||
vdom |
Interface connected to the log server is in this virtual domain (VDOM). |
string |
Maximum length: 31 |
|
||||||
ip-family |
set the version the IP address |
option |
- |
v4 |
||||||
|
|
|||||||||
ipv4-server |
set the IPv4 address for the log server |
ipv4-address-any |
Not Specified |
0.0.0.0 |
||||||
ipv6-server |
set the IPv6 address for the log server |
ipv6-address |
Not Specified |
:: |
||||||
source-port |
set the source port for the log packet |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
||||||
dest-port |
set the dest port for the log packet |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
||||||
template-tx-timeout |
set the template tx timeout |
integer |
Minimum value: 60 Maximum value: 86400 |
600 |