< Home

called-station-id wlan-user-format

Function

The called-station-id wlan-user-format command sets the encapsulation content of the Called-station-id (30) attribute in RADIUS packets.

The undo called-station-id wlan-user-format command restores the default encapsulation content of the Called-station-id (30) attribute in RADIUS packets.

By default, the encapsulation content of the Called-station-id (30) attribute is the AP's MAC address and SSID separated with a colon (:), in the format of ap-mac:ssid.

Only the S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI support this function.

Format

called-station-id wlan-user-format { ap-mac | ac-mac | ac-ip | ap-name | ap-group-name | vlanid | ap-location } [ include-ssid [ delimiter delimiter ] ]

undo called-station-id wlan-user-format

Parameters

Parameter Description Value
ap-mac Indicates that the encapsulation content of the Called-station-id (30) attribute is the AP's MAC address. -
ac-mac Indicates that the encapsulation content of the Called-station-id (30) attribute is the AC's MAC address. -
ac-ip Indicates that the encapsulation content of the Called-station-id (30) attribute is the AC's IP address. -
ap-name Indicates that the encapsulation content of the Called-station-id (30) attribute is the AP name. -
ap-group-name Indicates that the encapsulation content of the Called-station-id (30) attribute is the name of the AP group to which the AP belongs. -
vlanid Indicates that the encapsulation content of the Called-station-id (30) attribute is the outer VLAN through which the user goes online. -
ap-location Indicates that the encapsulation content of the Called-station-id (30) attribute is location information of the AP. -
include-ssid

Indicates that the encapsulation content of the Called-station-id (30) attribute contains the SSID.

If this parameter is not specified, the encapsulation content of the Called-station-id (30) attribute does not contain the SSID.

-
delimiter delimiter Specifies the delimiter before the SSID when the encapsulation content of the Called-station-id (30) attribute contains the SSID. The value is of enumerated type. The value can be \ / : < > | @ ' % * + - & ! # ^ or ~. The default value is :.

Views

RADIUS server template view

Default Level

3: Management level

Usage Guidelines

The Called-station-id (30) attribute indicates the number of the NAS. For wireless users, the default encapsulation content of this attribute is the AP's MAC address and SSID, in the format of ap-mac:ssid. You can run the called-station-id wlan-user-format command to modify the encapsulation content of this attribute based on the format of this attribute supported by the RADIUS server.

You can run the called-station-id mac-format command to set the encapsulation format of the MAC address of the AP or AC.

Example

# Set the encapsulation content of the Called-station-id (30) attribute in RADIUS packets to the AC's MAC address without the SSID.

<HUAWEI> system-view
[HUAWEI] radius-server template huawei
[HUAWEI-radius-huawei] called-station-id wlan-user-format ac-mac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >