- Table of Contents
-
- 11-Security Command Reference
- 00-Preface
- 01-AAA commands
- 02-Portal commands
- 03-User profile commands
- 04-Password control commands
- 05-Keychain commands
- 06-Public key management commands
- 07-PKI commands
- 08-IPsec commands
- 09-Group domain VPN commands
- 10-SSH commands
- 11-SSL commands
- 12-SSL VPN commands
- 13-ASPF commands
- 14-APR commands
- 15-Session management commands
- 16-Connection limit commands
- 17-Object group commands
- 18-Object policy commands
- 19-Attack detection and prevention commands
- 20-ARP attack protection commands
- 21-ND attack defense commands
- 22-uRPF commands
- 23-Crypto engine commands
- 24-FIPS commands
- 25-SMA commands
Title | Size | Download |
---|---|---|
03-User profile commands | 40.28 KB |
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 ] [ slot slot-number ]
display user-profile [ name profile-name ] [ chassis chassis-number 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 and must be unique. If you do not specify this option, the command displays configuration and online user information for all user profiles.
Examples
# (In standalone mode.) Display configuration and online user information for all user profiles in slot 1.
<Sysname> display user-profile slot 1
User-Profile: aaa
Inbound:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p1
Outbound:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p2
Connection-limit amount: 1000
Connection-limit rate: 100
User user_2:
Authentication type: Portal
Network attributes:
Interface : GigabitEthernet1/1/3
IP address : 172.16.187.16
VPN : N/A
Service VLAN : 100
User -:
Reference type: VPN-PEER
User-Profile: bbb
Inbound:
CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p3
Connection-limit rate: 200
User user_4:
Authentication type: Portal
Network attributes:
Interface : GigabitEthernet1/1/2
IP address : 172.16.187.166
VPN : N/A
Service VLAN : 100
# (In IRF mode.) Display configuration and online user information for user profile aaa in slot 1 of IRF member device 1.
<Sysname> display user-profile name aaa chassis 1 slot 1
User-Profile: aaa
Inbound:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p1
Outbound:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p2
Connection-limit amount: 1000
Connection-limit rate: 100
User user_2:
Authentication type: Portal
Network attributes:
Interface : GigabitEthernet1/1/1/3
IP address : 172.16.187.16
VPN : N/A
Service VLAN : 100
Reference type: VPN-PEER
# (In IRF mode.) Display configuration and online user information for user profile bbb.
<Sysname> display user-profile name bbb
User-Profile: bbb
Inbound:
CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p3
Connection-limit rate: 200
Chassis 1 Slot 2:
User user_4:
Authentication type: PPP
Network attributes:
Interface : GigabitEthernet1/1/1/2
User -:
Reference type: VPN-PEER
Chassis 1 Slot 5:
User user_5:
Authentication type: IPoE
Network attributes:
MAC address : 2222-3333-4444
# (In IRF mode.) Display configuration and online user information for all user profiles.
<Sysname> display user-profile
User-Profile: aaa
Inbound:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p1
Connection-limit amount: 1000
Connection-limit rate: 100
Chassis 1 Slot 5:
User user_6:
Authentication type: PPP
Network attributes:
Interface : GigabitEthernet1/1/1/3
User-Profile: bbb
Inbound:
CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p3
Connection-limit rate: 200
Chassis 1 Slot 5:
User user_7:
Authentication type: IPoE
Network attributes:
Interface : GigabitEthernet1/1/1/2
MAC address : 0000-1111-2222
IP address : 172.16.187.166
VPN : N/A
Service VLAN : 100
Description |
|
User profile name. |
|
Maximum number of user connections set by the connection limits. |
|
Maximum connection establishment rate set by the connection limits. |
|
Policy name. |
|
Username of a user account with which a user profile is associated. If no user is online, User - is displayed. |
|
· Portal—Portal authentication. · PPP—PPP authentication. · IPoE—IPoE authentication. · MACA—MAC authentication. |
|
Reference type |
Reference type, which can only be VPN-PEER. The VPN-PEER value indicates that the user profile is used by the VPN peer configuration. |
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
undo user-profile profile-name
Default
No user profiles exist.
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. The name must be unique.
Examples
# Create user profile a123 and enter the view of a123.
[Sysname] user-profile a123