< Home

portal local-server ip

Function

The portal local-server ip command configures an IP address for the built-in Portal server.

The undo portal local-server ip command deletes an IP address of the built-in Portal server.

By default, no IP address is configured for the built-in Portal server.

Format

portal local-server ip ip-address

undo portal local-server ip

Parameters

Parameter

Description

Value

ip-address

Specifies an IP address for the built-in Portal server.

The value is in dotted decimal notation.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the device is used as a built-in Portal server, you can run the portal local-server ip command to configure an IP address for the built-in Portal server. Users are then redirected to the Portal server if they enter URLs that are not located in the free IP subnet.
  • The IP address assigned to the built-in Portal server must have a reachable route to the user.

  • It is recommended that a loopback interface address be assigned to the built-in Portal server because the loopback interface is stable. Additionally, packets destined for loopback interfaces are not sent to other interfaces on the network; therefore, system performance is not deteriorated even if many users request to go online.

  • After users go online through the built-in Portal server, if the interface address or interface (non-physical interface) matching the built-in Portal server's IP address is deleted, online users cannot go offline and offline users cannot go online. Therefore, exercise caution when you delete the interface address or interface.

Example

# Assign the IP address 10.1.1.1 to the built-in Portal server.

<HUAWEI> system-view
[HUAWEI] interface loopback 1
[HUAWEI-LoopBack1] ip address 10.1.1.1 24
[HUAWEI-LoopBack1] quit
[HUAWEI] portal local-server ip 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >