No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
portal local-server background-image load

portal local-server background-image load

Function

The portal local-server background-image load command loads a background image file to the built-in Portal server login page.

The undo portal local-server background-image load command deletes the background image file loaded to the built-in Portal server login page.

By default, the device has two background images default-image0 and default-image1. The built-in Portal server uses default-image0 as the background image by default.

Format

portal local-server [ terminal-type { pc | phone } ] background-image load { background-image-file | default-image1 }

portal local-server page-name wechat-authen terminal-type phone background-image load { background-image-file | default-image1 }

undo portal local-server [ terminal-type { pc | phone } ] background-image load

undo portal local-server page-name wechat-authen terminal-type phone background-image load

Parameters

Parameter

Description

Value

terminal-type { pc | phone }

Specifies a terminal type.

  • pc: computer
  • phone: mobile phone

If the terminal type is not specified, this function only takes effect on the PC. To make this function take effect on both the PC and the mobile phone, you need to configure two commands for the PC and the mobile phone.

-

page-name wechat-authen

Indicates the WeChat authentication page.

-
background-image-file

Specifies the name of the background image file to be loaded to the built-in Portal server login page.

The size of the background image file must be equal to or less than 512 KB. A file of 1366 x 768 pixels is recommended.

The value is a string of 5 to 64 case-sensitive characters without spaces, in the format of [ drive ] [ path ] filename.
  • drive: indicates the storage device name.
  • path: indicates the directory and its subdirectory. The directory name cannot contain the following characters: ~, *, /, \, :, ', and ".
  • filename: indicates the file name. The jpg and png formats are supported, and the file name extension must be .jpg, .jpeg, or .png. If you enter only the file name, the system considers that the file is stored in the default directory.
default-image1

Loads the background image default-image1 to the built-in Portal server login page.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Users can customize the login page of the default page package used by the built-in Portal server. Users can customize background images or select the default ones. When the background image of the login page needs to be customized based on special requirements, the administrator can upload the user-defined background image file to the device and run the portal local-server background-image load command. After the image is loaded, the user-defined background image file is displayed on the built-in Portal server login page for authentication.

Prerequisites

The user-defined background image has been uploaded to the device.

Example

# Load the background image file bg.png to the built-in Portal server login page.

<Huawei> system-view
[Huawei] portal local-server background-image load :/bg.png
Info: The loading process may take a few seconds.Please wait for a moment.
Info: Load web file successfully.
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 208034

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next