< Home

iconset

Function

The iconset add command imports an icon to the icon base of the virtual gateway.

The iconset remove command deletes an icon from the icon base.

Format

iconset add iconpath

iconset remove iconname

Parameters

Parameter Description Value
iconpath Specifies the saving path and file name of the icon. The value is a string of 1 to 127 case-sensitive characters. The file size cannot exceed 64 KB. The recommended image format is bmp, gif, jpeg, or jpg. The recommended image size is 48×48, 64×64, or 128×128. Otherwise, the icon may be blurry or distorted.
iconname Specifies the name of the icon file. The value is a string of 1 to 63 case-sensitive characters.

Views

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

Before adding an icon, ensure that the icon image has been saved to hda1:/logo/vsysname/gatewayname/icon. vsysname specifies the virtual system name; public is the root system value; and gatewayname specifies the virtual gateway name. When executing the command, enter the full directory (without the drive letter) of the icon, for example, /logo/gateway/gateway/icon/example.jpg. Note that the directory cannot contain spaces.

Example

# Add resource icon example.jpg.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] basic
[sysname-gateway-basic]iconset add /logo/gateway/gateway/icon/example.jpg

# Delete resource icon pic.jpg.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] basic
[sysname-gateway-basic]iconset remove pic.jpg
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >