- Table of Contents
-
- 08-Security Command Reference
- 00-Preface
- 01-AAA commands
- 02-802.1X commands
- 03-MAC authentication commands
- 04-Portal commands
- 05-Port security commands
- 06-Password control commands
- 07-Public key management commands
- 08-PKI commands
- 09-IPsec commands
- 10-SSH commands
- 11-SSL commands
- 12-IP source guard commands
- 13-ARP attack protection commands
- 14-MFF commands
- 15-uRPF commands
- 16-Crypto engine commands
- 17-FIPS commands
- 18-ND attack defense commands
- 19-User profile commands
- 20-Attack detection and prevention commands
- 21-MACsec commands
- Related Documents
-
Title | Size | Download |
---|---|---|
19-User profile commands | 36.29 KB |
User profile commands
display user-profile
Syntax
display user-profile [ name profile-name ] [ slot slot-number ]
Views
Predefined user roles
Parameters
name profile-name: Specifies a user profile by its name, a case-sensitive string of 1 to 31 characters. Valid characters include English letters, digits, and underscores (_). The name must start with an English letter. If you do not specify this option, the command displays configuration and online user information for all user profiles.
Examples
# Display configuration and online user information for all user profiles.
<Sysname> display user-profile
User-Profile: abc
Inbound:
Policy: abc
Outbound:
Policy: abc
slot 1:
User -:
Authentication type: 802.1X
Network attributes:
Interface : GigabitEthernet1/0/1
MAC address : 6805-ca06-557b
Service VLAN : 1
Description |
|
User profile name. |
|
Policy name. |
|
· 802.1X—802.1X authentication. · MACA—MAC authentication. |
|
user-profile
Use user-profile to create a user profile and enter user profile view.
Use undo user-profile to remove a user profile.
Syntax
undo user-profile profile-name
Default
No user profile exists.
Views
Predefined user roles
Parameters
profile-name: Specifies a user profile by its name, a case-sensitive string of 1 to 31 characters. A user profile name can only contain English letters, digits, and underscores (_), and it must start with an English letter.
Usage guidelines
You can use the command to enter the view of an existing user profile.
Examples
# Create user profile a123 and enter the view of user profile a123.
[Sysname] user-profile a123