< Home

rserver port

Function

The rserver port command configures the port number of a real server.

The undo rserver port command disables the function.

Format

rserver port <port>

undo rserver port

Parameters

Parameter Description Value

port

Indicates the port number of the real server.

-

Views

Virtual server view

Default Level

2: Configuration level

Usage Guidelines

When the FW uses the internal DNS server to resolve IP addresses, you need to enable DNS scheduling to obtain the real server address through dynamic query.

If the port number of the real server is different from that of the virtual server, you need to configure the port number of the real server.

The FW supports this command only after the trusted access proxy component package is loaded. For details about the component package, see Dynamic Loading.

Example

# Set the port number of the real server to 80.

<system> system-view
[system] slb
[system-slb] vserver 0 abc
[system-slb-vserver-0] rserver port 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >