< Home

contain

Function

The contain command enables containment of rogue and interfering devices based on the RSSI and number of associated STAs on the devices.

The undo contain command disables containment of rogue and interfering devices based on the RSSI and number of associated STAs on the devices.

By default, containment of rogue and interfering devices based on the RSSI and number of associated STAs on the devices is disabled.

Format

contain { min-rssi min-rssi | min-sta-num min-sta-num }

undo contain { min-rssi | min-sta-num }

Parameters

Parameter

Description

Value

min-rssi min-rssi

Specifies the minimum RSSI value.

The value is an integer that ranges from -95 to -50.

min-sta-num min-sta-num

Specifies the minimum number of associated STAs.

The value is an integer that ranges from 1 to 10.

Views

WIDS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After RSSI-based containment is enabled, if the RSSIs of detected rogue and interfering devices are no more than the specified minimum RSSI value, the devices are not contained. They are contained only when their RSSIs exceed the specified minimum RSSI value.

After containment based on the number of associated STAs is enabled, if the number of STAs associated with detected rogue and interfering devices is smaller than the specified minimum value, the devices are not contained. They are contained only when the number of STAs associated with them reaches the specified minimum value.

Prerequisites

Detection and containment of rogue and interfering devices have been enabled.

Precautions

This function is not supported in manual containment mode.

This function does not take effect for APs running versions earlier than V200R010C00.

Example

# Enable containment of rogue and interfering APs with spoofing SSIDs and set the number of associated STAs that triggers containment to 5.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-group name office
[HUAWEI-wlan-ap-group-office] radio 0
[HUAWEI-wlan-group-radio-office/0] wids contain enable
[HUAWEI-wlan-group-radio-office/0] quit
[HUAWEI-wlan-ap-group-office] quit
[HUAWEI-wlan-view] wids-profile name huawei
[HUAWEI-wlan-wids-prof-huawei] contain-mode spoof-ssid-ap
[HUAWEI-wlan-wids-prof-huawei] contain min-sta-num 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >