< Home

access-context profile name

Function

The access-context profile name command creates a user context profile and displays the user context profile view.

The undo access-context profile name command deletes the created user context profile.

By default, no user context profile is created.

Format

access-context profile name profile-name

undo access-context profile name profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a user context profile.

The value is a string of 1 to 32 case-sensitive characters without any space. The value cannot be set to - or --, and cannot contain the following characters: / \ : * ? " < > | @ ' %.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To simplify the authentication server configuration, the administrator can add the users with the same network access rights to the same user context profile based on the user context, and assign the network access rights to the users based on the user context profile.

Follow-up Procedure

In the user context profile view, run the if-match vlan-id start-vlan-id [ to end-vlan-id ] &<1-10> command to configure the user identification policy based on VLAN IDs.

Example

# Creates the user context profile p1.

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