< Home

gawa-log password

Function

The gawa-log password command sets a key and IV value for encrypting users' network access logs.

The undo gawa-log password command cancels the setting.

Format

gawa-log password password iv iv

undo gawa-log password

Parameters

Parameter Description Value

password password

Specifies the password for encrypting logs.

The value is a string of 1 to 128 case-sensitive characters, without spaces or question marks (?).

iv iv

Specifies the IV value for for encrypting logs. The IV value and password are used together to encrypt users' network access logs through the DES_cbc_encrypt algorithm.

The value is a string of 1 to 128 case-sensitive characters, without spaces or question marks (?).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

The gawa-log file-upload command has been run.

Application Scenario

After you run the gawa-log password command, the device will encrypt the log file to be sent to a third-party log server, securing information transmission.

Precautions

By default, the device does not support the command. To use this command, install the weak security algorithm component package (product_version_WEAKEA.mod). For details, see Dynamic Loading.

Example

# Set a key and IV value for encrypting users' network access logs.

<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
[sysname] gawa-log password abcdef iv fedcba
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >