- Table of Contents
-
- 13-Security Command Reference
- 00-Preface
- 01-ACL commands
- 02-Time range commands
- 03-User profile commands
- 04-Public key management commands
- 05-PKI commands
- 06-IPsec commands
- 07-SSH commands
- 08-Attack detection and prevention commands
- 09-ARP attack protection commands
- 10-ND attack defense commands
- 11-Crypto engine commands
- 12-Password control commands
- Related Documents
-
Title | Size | Download |
---|---|---|
03-User profile commands | 48.93 KB |
1 User profile commands
display user-profile
Use display user-profile to display configuration and online user information for user profiles.
Syntax
display user-profile [ name profile-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
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, underscores (_), hyphens (-), and dots (.). The name must start with an English letter or digit, and cannot contain only digits. The name must be globally unique. 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 user profile aaa.
<Sysname> display user-profile name aaa
User-Profile: aaa
Inbound:
CIR 64 (kbps), CBS 512 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p1
Outbound:
CIR 64 (kbps), CBS 512 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
User user_1:
Authentication type: 802.1X
Network attributes:
Interface : GigabitEthernet1/0/1
MAC address : 0000-1111-2222
Failed action list:
Inbound: Policy p1
Inbound: CIR 64 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Field |
Description |
User-Profile |
User profile name. |
Inbound |
Policy applied to incoming traffic. |
Outbound |
Policy applied to outgoing traffic. |
CIR |
Committed information rate, in kbps. |
CBS |
Committed burst size, in bytes. |
EBS |
Excess burst size, in bytes. |
PIR |
Peak information rate, in kbps. |
Policy |
Policy name. |
QMProfile |
Queue scheduling profile. |
User user_1 |
Username of a user account with which a user profile or session group profile is associated. |
Authentication type |
Authentication type: · 802.1X—802.1X authentication. · Portal—Portal authentication. · PPP—PPP authentication. · IPoE—IPoE authentication. · MACA—MAC authentication. |
Network attributes |
Online user information. |
Failed action list |
Actions that failed to be applied to the user. |
user-profile
Use user-profile to create a user profile and enter its view, or enter the view of an existing user profile.
Use undo user-profile to delete a user profile.
Syntax
user-profile profile-name
undo user-profile profile-name
Default
No user profiles exist.
Views
System view
Predefined user roles
network-admin
Parameters
profile-name: Specifies a user profile by its name, a case-sensitive string of 1 to 31 characters. Valid characters include English letters (a-z, A-Z), digits (0-9), underscores (_), hyphens (-), and dots (.). The name must start with an English letter or digit, and cannot contain only digits. The name must be globally unique.
Examples
# Create user profile a123 and enter the view of a123.
<Sysname> system-view
[Sysname] user-profile a123