portal local-server policy-text load
Function
The portal local-server policy-text load command loads a disclaimer page file to the built-in Portal server.
The undo portal local-server policy-text load command deletes the loaded disclaimer page file.
By default, no disclaimer page file is loaded to the built-in Portal server.
Format
portal local-server [ terminal-type { pc | phone } ] policy-text load string
portal local-server page-name wechat-authen terminal-type phone policy-text load string
undo portal local-server [ terminal-type { pc | phone } ] policy-text load
undo portal local-server page-name wechat-authen terminal-type phone policy-text load
Parameters
Parameter |
Description |
Value |
---|---|---|
terminal-type { pc | phone } |
Specifies a terminal type.
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. |
- |
string | Specifies the name of the disclaimer page file to be loaded to the built-in Portal server. |
The value is a string of 1 to 64 case-sensitive characters without spaces, in the format of [ drive ] [ path ] filename.
|
Usage Guidelines
Usage Scenario
To customize a disclaimer page, upload the disclaimer page file to the device and run this command to load the file. After the file is loaded, the hyperlink Disclaimer will be displayed on the login page. You can click the link to visit the disclaimer page.
Prerequisite
The disclaimer page file to be loaded has been uploaded to the device.
Precautions
Currently, only Chinese and English disclaimer page files can be loaded on the device.