- Table of Contents
-
- 12-Security Command Reference
- 00-Preface
- 01-AAA commands
- 02-User profile commands
- 03-Password control commands
- 04-Keychain commands
- 05-Public key management commands
- 06-PKI commands
- 07-IPsec commands
- 08-SSH commands
- 09-SSL commands
- 10-Session management commands
- 11-Attack detection and prevention commands
- 12-IP-based attack prevention commands
- 13-ARP attack protection commands
- 14-ND attack defense commands
- 15-uRPF commands
- 16-Crypto engine commands
- Related Documents
-
Title | Size | Download |
---|---|---|
02-User profile commands | 42.47 KB |
User profile commands
display user-profile
Use display user-profile to display configuration for user profiles.
Syntax
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
session-group: Specifies a session group profile.
name profile-name: Specifies a user profile by its name. If you do not specify this option, the command displays configuration and online user information for all user profiles.
chassis chassis-number slot slot-number: Specifies a card on a cluster member device. The chassis-number argument represents the member ID of the cluster member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command displays user profile configuration and online user information on all cards.
cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.
Examples
# Display configuration and online user information for user profile aaa.
<Sysname> display user-profile name aaa
User Profile: aaa
Direction: Inbound
Generic Traffic Shaping(inactive):
If-match any:
CIR 2000 (kbps), CBS 125000 (Bytes)
Direction: Outbound
QMProfile:
qm1
Generic Traffic Shaping(inactive):
If-match any:
CIR 2000 (kbps), CBS 125000 (Bytes)
Field |
Description |
User Profile |
User profile name. |
Inbound |
Policy applied to incoming traffic. |
Outbound |
Policy applied to outgoing traffic. |
Session Group Profile |
Session group profile name. |
CIR |
Committed information rate, in kbps. |
CBS |
Committed burst size, in bytes. |
QMProfile |
Queue scheduling profile. |
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
mdc-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 can start with an English letter or digit, and cannot contain only digits. The name must be unique globally. The name cannot be the same as the name of an existing user group profile or session group profile.
Examples
# Create user profile a123 and enter the view of a123.
<Sysname> system-view
[Sysname] user-profile a123