< Home

peer-ap mac (WDS whitelist profile view)

Function

The peer-ap mac command adds MAC addresses of neighboring APs that are allowed to connect to an AP to a WDS whitelist profile.

The undo peer-ap mac command deletes the MAC addresses of neighboring APs from a WDS whitelist profile.

By default, no MAC address of a neighboring AP is added to a WDS whitelist profile.

Format

peer-ap mac mac-address

undo peer-ap mac mac-address

Parameters

Parameter

Description

Value

mac-address

Specifies the MAC address of a neighboring AP to be added to a WDS whitelist profile.

The value is in H-H-H format. An H is a hexadecimal number of 4 digits.

Views

WDS whitelist profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a WDS whitelist profile is created, you can run the peer-ap mac command to add neighboring APs' MAC addresses to the profile.

If a WDS whitelist profile is bound to a WDS profile, only APs with MAC addresses in the WDS whitelist profile can access the local AP, and other APs are denied access.

Precautions

A maximum of six MAC addresses can be added to a WDS whitelist profile.

Example

# Create the WDS whitelist profile whitelist and add the MAC address 0001-0001-0001 to the whitelist profile. Bind the WDS whitelist profile whitelist to radio 0 of APs in the AP group group1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] wds-whitelist-profile name whitelist
[HUAWEI-wlan-wds-whitelist-whitelist] peer-ap mac 0001-0001-0001
[HUAWEI-wlan-wds-whitelist-whitelist] quit
[HUAWEI-wlan-view] ap-group name group1
[HUAWEI-wlan-ap-group-group1] radio 0
[HUAWEI-wlan-group-radio-group1/0] wds-whitelist-profile whitelist
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >