< Home

protocol (Portal server template view)

Function

The protocol command configures the protocol used in Portal authentication.

The undo protocol command restores the default configuration.

By default, the Portal protocol is used in Portal authentication.

Format

protocol { http [ password-encrypt { none | uam } ] | portal }

undo protocol

Parameters

Parameter

Description

Value

http

Sets the protocol used in Portal authentication to HTTP or HTTPS.

-

password-encrypt { none | uam }

Specifies the password encryption mode.

  • none: The password is not encrypted.
  • uam: The password is encrypted using the ASCII character mode.

-

portal

Sets the protocol used in Portal authentication to Portal.

-

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

In Portal authentication, the device can use the following protocols to communicate with the Portal server. You can set the protocol according to the protocol supported by the Portal server.
  • Portal protocol
  • HTTP or HTTPS protocol

Example

# Set the protocol used in Portal authentication to HTTP or HTTPS.
<HUAWEI> system-view
[HUAWEI] web-auth-server abc
[HUAWEI-web-auth-server-abc] protocol http password-encrypt uam
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >