< Home

http parse user-agent enable

Function

The http parse user-agent enable command enables the UA function.

The undo http parse user-agent enable command disables the UA function.

By default, the UA function is disabled.

This function is supported only by S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI.

Format

http parse user-agent enable

undo http parse user-agent enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

User Agent (UA) is a field in the HTTP packet header. This field carries the following information: operating system used by the device, operating system version, CPU type, browser type, browser version, language used by the browser, and browser plug-in.

If a terminal passes authentication and the UA function is enabled, the AC extracts the UA field from the HTTP Get packet sent from the terminal and sends the extracted information to the terminal type identification module, so that the module can identify the terminal type based on UA information, MAC address, and DHCP Option information.

Precautions

The device can parse the UA field with a maximum of 247 bytes.

Example

# Enable the UA function.

<HUAWEI> system-view
[HUAWEI] http parse user-agent enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >