< Home

ap modify

Function

The ap modify command changes the MAC address of an AP.

Format

ap modify ap-id mac ap-mac

Parameters

Parameter

Description

Value

ap-id

Specifies the ID of the AP to be replaced.

The AP ID must exist.

mac ap-mac

Specifies the MAC address of a new AP.

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

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When AP hardware needs to be replaced, you can change the MAC address of the AP to that of a new AP to prevent repetitive data configurations. After the change, the new AP goes online using the ID of the original AP so that all data configurations of the original AP take effect on the new AP.

By default, you can run the display ap { all | ap-group ap-group } command to check the MAC address of an AP.

Precautions

Replacing an AP enables the new AP to go online on the AC but will interrupt services of the original AP.

The type of the new AP must be the same as that of the original AP.

Example

# Replace the AP with the ID 0 with the AP with the MAC address 0002-1110-0120.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap modify 0 mac 0002-1110-0120 
Warning: Modify AP will influence the service that has published in AP, Whether to continue? [Y/N]y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >