< Home

host ip

Function

The host ip command configures the IPv4 address and port number for the blacklist/whitelist server of the cloud service.

The undo host ip command deletes the IPv4 address and port number configured for the blacklist/whitelist server of the cloud service.

Format

host ip ip-address port port-number

undo host ip

Parameters

Parameter Description Value

ip-address

IPv4 address used by the cloud service host to obtain the blacklist/whitelist server.

The value is in dotted decimal notation.

port-number

Port number used by the cloud service host to obtain the blacklist/whitelist server.

The value is an integer that ranges from 1 to 65535.

Views

Blacklist and whitelist view of the cloud services

Default Level

2: Configuration level

Usage Guidelines

This command is supported by V600R007C20SPC603 and later versions.

By default, no IPv4 address or port number is configured for the blacklist/whitelist server of the cloud service on the FW.

Usage Scenario

When the FW is connected to a cloud service host, you need to configure the domain name or IPv4 address and port number of the blacklist/whitelist server of the cloud service.

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

# Set the IPv4 address of the blacklist/whitelist server of the cloud service to 10.1.1.10 and the port number to 443.

<sysname> system-view
[sysname] iss-bwl
[sysname-iss-bwl] host ip 10.1.1.10 port 443
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >