< Home

web-auth-server version

Function

The web-auth-server version command sets the Portal protocol version supported by the device.

The undo web-auth-server version command restores the default setting.

By default, the device supports both the versions V1.0 and V2.0.

Format

web-auth-server version v2 [ v1 ]

undo web-auth-server version

Parameters

Parameter Description Value
v2 Indicates that the device supports the Portal protocol version V2.0. The major version currently used is V2.0. -
v1 Indicates that the device supports the Portal protocol version V1.0. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Currently, the Portal protocol has two versions: V1.0 and V2.0. The device and Portal server must use the Portal protocol of the same version to ensure normal communication. You can run the web-auth-server version command to set the Portal protocol version supported by the device.

The version V2.0 is widely used currently.

To ensure smooth communication, the device supports both versions by default.

Example

# Configure the device to use only the Portal protocol V2.0.

<HUAWEI> system-view
[HUAWEI] web-auth-server version v2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >