< Home

portal local-server logo load

Function

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

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

By default, no logo file is loaded to the built-in Portal server login page.

Format

portal local-server logo load logo-file

undo portal local-server logo load

Parameters

Parameter

Description

Value

logo-file

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

The size of the logo file must be equal to or less than 128 KB. A file of 591 x 80 pixels is recommended.

The value is a string of 5 to 64 case-insensitive 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: ~ * / \ : ' "
  • 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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

There is a blank area on the login page of the default page package used by the built-in Portal server. Users can customize this area by loading a logo file. When the login page needs to be customized based on special requirements, the administrator can upload the user-defined logo file to the device and run the portal local-server logo load command. After the logo file is loaded, the user-defined logo is displayed on the built-in Portal server login page for authentication.

Prerequisites

The user-defined logo file must have been uploaded to the device.

Example

# Load the logo file logo.png to the built-in Portal server login page.

<HUAWEI> system-view
[HUAWEI] portal local-server logo load flash:/logo.png
Info: The loading process may take a few seconds.Please wait for a moment.
Info: Load web file successfully. 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >