< Home

query-from

Function

The query-from command sets the IP address of the FW that serves as the online user entry query server.

The undo query-from command deletes the configured query server IP address.

Format

query-from address ip-address port port-number

undo query-from address ip-address

Parameters

Parameter Description Value
address ip-address Specifies the IP address of the query server. The value is in dotted decimal notation.
port port-number Specifies the port number of the query server. The value must be the same as local-server port on the peer. It is an integer ranging from 1025 to 50000.

Views

View for automatic online user information synchronization

Default Level

2: Configuration level

Usage Guidelines

Only one FW can be configured as a query server.

If traffic passing through a FW does not match any online user entries, the FW sends a query request to the query server. If the query server has a matching online user entry, it delivers the entry to the FW.

Example

# Set the IP address to 10.1.1.1 and port number of 8886 for the FW that serves as the query server.

<sysname> system-view
[sysname] user-manage auto-sync online-user
[sysname-auto-sync-online-user] query-from address 10.1.1.1 port 8886
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >