wlan option82 decode-mode

Function

The wlan option82 decode-mode command enables a BAS interface to parse the AP MAC address and SSID in Option 82.

The undo wlan option82 decode-mode command disables a BAS interface from parsing the AP MAC address and SSID in Option 82.

By default, BAS interfaces do not parse the AP MAC address and SSID in Option 82.

This command is supported only on the NetEngine 8000 F1A.

Format

wlan option82 decode-mode { { type1 | type2 } * | type3 } ap-mac

wlan option82 decode-mode { { type1 | type2 } * | type3 } ssid

undo wlan option82 decode-mode { { type1 | type2 } * | type3 } ap-mac

undo wlan option82 decode-mode { { type1 | type2 } * | type3 } ssid

Parameters

Parameter Description Value
type1

Indicates the Cisco mode.

-

type2

Indicates the Ruskus mode.

-

type3

Indicates the Huawei mode.

-

ap-mac

Indicates the AP MAC address.

-

ssid

Indicates the SSID.

-

Views

BAS interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

When the device sends user packets carrying Option 82 that contains the AP MAC address and SSID to an AAA or RADIUS server or sends redirection packets carrying Option 82 that contains the AP MAC address to terminals, to allow the device to parse the AP MAC address and SSID in Option 82, run the wlan option82 decode-mode command.

Configure type1 if user packets received on a BAS interface are sent from Cisco devices. Configure type2 if user packets received on a BAS interface are sent from Ruskus devices. Configure both if the types of user packets received on a BAS interface cannot be determined.

The type3 parameter indicates the AP-MAC and SSID carried in option82 circuit id, which is in the format of 00-10-A4-23-19-C0:Enterprise1-SSID-NAME. The type3 parameter is mutually exclusive with { type1 | type2 }*. The latter configuration overrides the previous one. If type3 is configured, the wlan option82 decode-mode type3 ssid and wlan option82 decode-mode type3 ap-mac command needs to be run.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable GigabitEthernet0/1/1 to parse the AP MAC address in Option 82 in Cisco mode.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] wlan option82 decode-mode type1 ap-mac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >