< Home

ap-rename

Function

The ap-rename command changes the name of an AP.

Format

ap-rename { ap-name name | ap-mac ap-mac-address | ap-id ap-id } new-name ap-new-name

Parameters

Parameter

Description

Value

ap-name name

Specifies the old name of an AP.

The AP name must exist.

ap-mac ap-mac-address

Specifies the MAC address of an AP.

The AP's MAC address must exist.

ap-id ap-id

Specifies the ID of an AP.

The AP ID must exist.

new-name ap-new-name

Specifies the new name of an AP.

The value is a string of 1 to 63 case-sensitive characters, which can be Chinese characters or Chinese + English characters. It cannot contain question marks (?), and cannot start or end with spaces or double quotation marks (" "). If the AP name contains spaces, the input name must start and end with a quotation mark ("), for example, "huawei name1". The quotation marks at the beginning and end of the AP name occupy two characters in total.
NOTE:

You can only use a command editor of the UTF-8 encoding format to edit Chinese characters.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

If the name of an AP conflicts with that of another or an AP requires a more proper name, you can run this command to change the name of the AP.

If a new AP name is the same as an existing AP name, the new AP is restarted after its name is changed.

Example

# Change the AP name from N1-2 to N2-2.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-rename ap-name N1-2 new-name N2-2
Warning: The AP name of more than 31 characters does not take effect for APs in versions earlier than V200R009C00. 
Warning: This operation may cause AP reset. Continue? [Y/N]: y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >