< Home

copy-from

Function

The copy-from command copies data to the current profile from a profile of the same type.

Format

copy-from profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of the profile from which data is copied.

The profile name must already exist.

Views

All WLAN profile views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the copy-from command to copy data to the current profile from a profile of the same type. This simplifies profile configuration and improves configuration efficiency.
  • To create a profile that has the same configuration as an existing profile, enter the view of the profile to be created and run the copy-from command to copy data from the existing profile.
  • To create a profile that has most configurations the same as an existing profile, enter the view of the profile to be created, run the copy-from command to copy data from the existing profile, and modify the different configurations.

Precautions

If the current profile is referenced by another profile, you cannot run the command to copy data to the current profile.

When the WAPI certificate or private key configuration exists in the security profile, you must manually perform the configuration instead of using this command to copy data.

Example

# Create the VAP profile huawei and copy data from the profile sample.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name huawei
[HUAWEI-wlan-vap-prof-huawei] copy-from sample
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >