< Home

authentication-profile (Interface view or VAP profile view)

Function

The authentication-profile command applies an authentication profile to the interface or VAP profile.

The undo authentication-profile command restores the default setting.

By default, no authentication profile is applied to the interface or VAP profile.

Format

authentication-profile authentication-profile-name

undo authentication-profile

Parameters

Parameter

Description

Value

authentication-profile-name

Specifies the name of an authentication profile.

The value must be an existing authentication profile name.

Views

interface or VAP profile

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An authentication profile uniformly manages 802.1X or Portal configuration. The authentication profile is bound to the interface or VAP profile view to enable 802.1X, implementing access control on the users in the interface or VAP profile. The authentication type of the users in the interface or VAP profile is determined by the access profile bound to the authentication profile.

Prerequisites

An authentication profile has been created using the authentication-profile command in the system view.

Precautions

You can run this command in Ethernet interface view, Eth-Trunk interface view, Loopback interface view. Currently, in loopback interface view, you can only bind the authentication template named portal_authen_default to the loopback0 interface.

WAN, 40GE, 100GE interfaces do not support this command.

Example

# Apply the authentication profile m1 to GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] authentication-profile name m1
[sysname-authentication-profile-m1] quit
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet 0/0/1] authentication-profile m1
# Enable Portal authentication on Loopback 0.
<sysname> system-view
[sysname] web-auth-server server1
[sysname-web-auth-server-server1] server-ip 192.168.10.1
[sysname-web-auth-server-server1] quit
[sysname] portal-access-profile name p1
[sysname-portal-access-profile-p1] web-auth-server server1
[sysname-portal-access-profile-p1] quit
[sysname] authentication-profile name portal_authen_default
[sysname-authentication-profile-portal_authen_default] portal-access-profile p1
[sysname] interface loopBack 0
[sysname-LoopBack0] authentication-profile portal_authen_default
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >