R3303-HP HSR6800 Routers Security Command Reference

200
User profile configuration commands
display user-profile
Use display user-profile to display information about all user profiles that have been created.
Syntax
display user-profile [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about all user profiles that have been created.
<Sysname> display user-profile
Status User profile
enabled a123
----Total user profiles: 1-------
----Enabled user profiles: 1-------
Table 23 Command output
Field Descri
p
tion
Status Status of the user profile, enabled or disabled.
User profile User profile name.
Total user profiles Total number of user profiles that have been created.
Enabled user profiles Total number of user profiles that have been enabled.
user-profile enable
Use user-profile enable to enable a user profile that has been created.
Use undo user-profile enable to disable the specified user profile.