< Home

update proxy

Function

The update proxy command sets the IP address or domain name of the proxy server.

The undo update proxy command deletes the proxy server setting.

By default, the IP address or domain name of the proxy server is not set.

Format

update proxy { domain domain-name | ip ip-address } [ port port-number ] [ user user-name [ password password ] ]

undo update proxy

Parameters

Parameter Description Value
domain domain-name

Specifies the domain name of the proxy server.

The value is a string of 1 to 64 characters, spaces not supported.

ip ip-address

Specifies the IP address of the proxy server.

The value is in dotted decimal notation.

port port-number

Specifies the port number of the proxy server.

The value is an integer ranging from 1 to 65535. The default value is 80.

user user-name

Specifies the user name for logging in to the proxy server.

The user name is a string and must have been set on the proxy server.

The length of a user name without spaces ranges from 1 to 32 characters. The length of a user name with spaces ranges from 3 to 34 characters. If a user name contains spaces, it must be enclosed with quotation marks (such as "user for test").

password password

Specifies the password for logging in to the proxy server.

The password is a string and must be the same as the password corresponding to the user name of the proxy server.

  • The length of a password without spaces ranges from 1 to 32 characters. The length of a password with spaces ranges from 3 to 34 characters. If a password contains spaces, it must be enclosed with quotation marks.

  • The password cannot be composed only by asterisks (*).

Views

System view

Default Level

3: Management level

Usage Guidelines

Before running this command, you must run the defence engine enable command to enable the IAE.

Example

# Configure a proxy server.

<HUAWEI> system-view
[HUAWEI] defence engine enable
[HUAWEI] update proxy ip 192.168.2.33 port 8080 user test password Hello!123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >