< Home

p2p-cross-connect disable

Function

The p2p-cross-connect disable command configures P2P management information to prevent cross connections of P2P devices.

The undo p2p-cross-connect disable command deletes P2P management information.

By default, P2P management information is not configured.

Format

p2p-cross-connect disable

undo p2p-cross-connect disable

Parameters

None.

Views

Hotspot2.0 profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Hotspot2.0 provides security measures for STAs. It prevents direct access between STAs to reduce the STA attack possibility. The P2P protocol allows direct communication between STAs; therefore, a Hotspot2.0-supported AP can add P2P management information into Beacon. In the management information, STAs are not allowed to set up P2P connections with each other.

Precautions

The p2p-cross-connect disable command is not recommended. An AP does not support the P2P protocol or process P2P packets; therefore, it is unnecessary to remove P2P management information from packets.

Example

# Configure P2P management information in the hotspot profile.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] p2p-cross-connect disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >