- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
05-User profile commands | 58.18 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 ]
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 (_), minus signs (–), and dots (.). The name can start with an English letter or digit, and cannot contain only digits. The name must be unique globally. 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.
Examples
# Display configuration and online user information for user profile aaa.
<Sysname> display user-profile name aaa
User-Profile: aaa
Direction: Inbound
Committed Access Rate:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p1
Packet-filter ipv6 2222
Direction: Outbound
Line Rate:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Priority queuing: pql 1
General Traffic Shaping:
CIR 200 (kbps), CBS 12500 (Bytes), EBS 0 (Bytes)
Committed Access Rate:
CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Policy: p2
Packet-filter 2222
User user_1:
Authentication type: Portal
Network attributes:
Interface : GigabitEthernet1/0/3
IP address : 172.16.187.16
VPN : N/A
Service VLAN : 100
Field |
Description |
User-Profile |
User profile name. |
Inbound |
Policy applied to incoming traffic. |
Outbound |
Policy applied to outgoing traffic. |
Committed Access Rate |
CAR configuration in the user profile. |
Line Rate |
Information about user profile-based rate limiting. When the peer-advertise-bandwidth keyword is specified in the qos lr outbound command, this field displays the peer-advertise-bandwidth configuration information. |
Priority queuing |
Information about priority queuing applied to a user profile. |
General Traffic Shaping |
Information about GTS applied to a user profile. |
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. |
Packet-filter |
Packet filter that uses an IPv4 ACL. |
Packet-filter ipv6 |
Packet filter that uses an IPv6 ACL. |
QMProfile |
Queue scheduling profile. |
User user_1 |
Username of a user account with which a user profile is associated. |
Authentication type |
Authentication type: · Portal—Portal authentication. · PPP—PPP authentication. · IPoE—IPoE authentication. · MACA—MAC authentication. · WLAS. |
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, digits, underscores (_), minus signs (–), and dots (.). The name can start with an English letter or digit, and cannot contain only digits. The name must be unique globally.
Examples
# Create user profile a123 and enter the view of a123.
<Sysname> system-view
[Sysname] user-profile a123