- Table of Contents
-
- 09-Security Command Reference
- 00-Preface
- 01-AAA commands
- 02-802.1X commands
- 03-MAC authentication commands
- 04-Portal commands
- 05-Port security commands
- 06-User profile commands
- 07-Password control commands
- 08-Keychain commands
- 09-Public key management commands
- 10-PKI commands
- 11-IPsec commands
- 12-SSH commands
- 13-SSL commands
- 14-Attack detection and prevention commands
- 15-TCP attack prevention commands
- 16-IP source guard commands
- 17-ARP attack protection commands
- 18-ND attack defense commands
- 19-uRPF commands
- 20-Crypto engine commands
- 21-FIPS commands
- Related Documents
-
Title | Size | Download |
---|---|---|
06-User profile commands | 38.91 KB |
User profile commands
display user-profile
Use display user-profile to display configuration and online user information for user profiles.
Syntax
In standalone mode:
display user-profile [ name profile-name ] [ slot slot-number ]
In IRF mode:
display user-profile [ name profile-name ] [ chassis chassis-number slot slot-number ]
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, 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.
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command displays user profile configuration and online user information on all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF 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 for all cards. (In IRF mode.)
Examples
# Display configuration and online user information for user profile aaa.
<Sysname> display user-profile name aaa
User-Profile: aaa
Inbound:
Policy: p1
IGMP Snooping access policy:
2000, 3000
MLD Snooping access policy:
2000, 3000
User user_1:
Authentication type: 802.1X
Network attributes:
Interface : HundredGigE1/0/1
MAC address : 0000-1111-2222
Failed action list:
Inbound: Policy p1
Field |
Description |
User-Profile |
User profile name. |
Inbound |
Policy applied to incoming traffic. |
Outbound |
Policy applied to outgoing traffic. |
IGMP Snooping access policy |
The numbers 2000 and 3000 indicate the numbers of the ACLs used by the IGMP Snooping access policy. |
MLD Snooping access policy |
The numbers 2000 and 3000 indicate the numbers of the ACLs used by the MLD Snooping access policy. |
Policy |
Policy name. |
User user_1 |
Username of a user account with which a user 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. 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> system-view
[Sysname] user-profile a123