< 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 | haca }

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. Select a mode based on the Portal server configuration.

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

When http is specified, the default password encryption mode is none.

-

portal

Sets the protocol used in Portal authentication to Portal.

-

haca

Sets the protocol used in Portal authentication to HACA.

-

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.
  • HACA protocol
  • Portal protocol
  • HTTP or HTTPS protocol

Example

# According to the Portal server configuration, set the protocol used in Portal authentication to HTTP or HTTPS and set the password encryption mode to uam on the device.
<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 >