< Home

hostname

Function

The hostname command configures the domain name of the cloud server (Huawei Cloud OBS server) that is used for storing the blacklist and whitelist.

The undo hostname command deletes the domain name.

Format

hostname hostname

undo hostname hostname

Parameters

Parameter Description Value

hostname

Specifies the domain name for interconnecting with Huawei Cloud OBS server.

The value is a string of 1 to 64 characters. The default value is obs.cn-east-3.myhuaweicloud.com. If any change is required, contact Huawei engineers to obtain the configuration information.

Views

Blacklist and whitelist view of the cloud services

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The firewall obtains the blacklist and whitelist from Huawei Cloud OBS server and delivers the configuration to implement automatic protection on the tenant side.

Precautions

The configurations of the hostname and host ip commands overwrite each other. The FW uses the latest connection address of the blacklist/whitelist server of the cloud service.

Example

# Configure the domain name IP address of the cloud server that is used for storing the blacklist and whitelist.

<sysname> system-view
[sysname] iss-bwl
[sysname-iss-bwl] hostname obs.cn-east-3.myhuaweicloud.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >