< Home

gawa-log file-upload

Function

The gawa-log file-upload command configures the device to upload the log file about users' network access.

The undo gawa-log file-upload command cancels the configuration.

Format

gawa-log data-source-id data-source-id data-destination-id data-destination-id file-upload name

undo gawa-log

Parameters

Parameter Description Value

data-source-id data-source-id

Specifies the ID of the organization to which the source system of file upload belongs.

The value is a string of 6 characters.

data-destination-id data-destination-id

Specifies the ID of the organization to which the destination system of file upload belongs.

The organization to which the source system belongs can have the same ID as that to which the destination system belongs.

The value is a string of 6 characters.

name

Specifies the name used to upload the log file on users' network access to the FTP server.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test").

The value is set using the file-upload name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

The file-upload name command has been run.

Application Scenario

The gawa-log file-upload command sets the ID of the organization to which the source system belongs and the ID of the organization to which the destination system of file upload belongs and updates users' network access logs through the FTP server.

Precautions

User network access logs can be parsed only by SURFILTER log server but not other log servers.

Example

# Configure the device to upload the log file about users' network access.

<sysname> system-view
[sysname] file-upload name test ftp 10.174.55.66 user test password test@123
[sysname] gawa-log data-source-id 320000 data-destination-id 320100 file-upload test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >