< Home

mac-access-profile (system view)

Function

The mac-access-profile command creates a MAC access profile and displays the MAC access profile view.

The undo mac-access-profile command deletes the MAC access profile.

By default, the device has a built-in MAC access profile named mac_access_profile.

Format

mac-access-profile name access-profile-name

undo mac-access-profile name access-profile-name

Parameters

Parameter

Description

Value

name access-profile-name

Specifies the name of a MAC access profile.

The value is a string of 1-31 case-sensitive characters, which cannot be configured to - and --. It cannot contain spaces and the following symbols: / \ : * ? " < > | @ ' %.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The device uses MAC access profiles to uniformly manage all MAC users access configurations. To perform MAC address authentication for the users in the interface or VAP profile, bind the authentication profile applied to the interface or VAP profile to a MAC access profile.

Follow-up Procedure

Run the mac-access-profile command in the authentication profile view to bind the authentication profile to a MAC access profile.

Precautions

  • The compatibility profile converted after an upgrade is not counted in the configuration specification. The built-in MAC access profile mac_access_profile can be modified and applied, but cannot be deleted.
  • Before deleting a MAC access profile, ensure that this profile is not bound to any authentication profile.

Example

# Create the MAC access profile named mac_access_profile.

<HUAWEI> system-view
[HUAWEI] mac-access-profile name mac_access_profile
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >