03-User Profile命令
本章節下載: 03-User Profile命令 (155.04 KB)
display user-profile用來顯示User Profile的配置信息和在線用戶信息。
【命令】
display user-profile [ name profile-name ]
【視圖】
任意視圖
【缺省用戶角色】
network-admin
network-operator
【參數】
name profile-name:表示User Profile的名稱,為1~31個字符的字符串,隻能包含英文字母[a-z,A-Z]、數字、下劃線、連字符,且必須以英文字母或數字開始,但不能為純數字,區分大小寫。User Profile的名稱必須全局唯一。如果未指定本參數,將顯示所有User Profile的配置信息和在線用戶信息。
【舉例】
# 顯示名稱為aaa的User Profile配置信息及被授權該User Profile的在線用戶信息。
<Sysname> display user-profile name aaa
User-Profile: aaa
Inbound:
Committed Access Rate:
Rule: If-match any
CIR 64 (kbps), CBS 512 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Rule: If-match acl 2000
CIR 3000 (kbps), CBS 187500 (Bytes), EBS 0 (Bytes)
Policy: p1
Outbound:
Committed Access Rate:
Rule: If-match acl 3000
CIR 1000 (kbps), CBS 62500 (Bytes), EBS 0 (Bytes)
Rule: If-match any
CIR 64 (kbps), CBS 512 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
Overhead compensation length: 18
User user_1:
Authentication type: Portal
Network attributes:
Interface : GigabitEthernet1/0/1
MAC address : 0000-1111-2222
Failed action list:
Inbound: Policy p1
Inbound: CIR 64 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)
表1-1 display user-profile 命令顯示信息描述表
字段 |
描述 |
User-Profile |
User Profile名稱 |
Inbound |
在入方向上應用的策略 |
Outbound |
在出方向上應用的策略 |
CIR |
承諾信息速率,單位為kbps |
CBS |
承諾突發尺寸,也就是容納突發流量的令牌桶深度,單位為byte |
Policy |
策略名 |
User user_1 |
與User Profile關聯的用戶信息 |
Authentication type |
用戶認證類型 · 802.1X · Portal · PPP · MACA |
Network attributes |
用戶特征信息 |
Failed action list |
在該用戶上應用失敗的動作 |
Overhead compensation length |
出方向限速時的報文補償長度,單位為byte |
Rule |
數據包的匹配規則 · If-match any:匹配所有數據包 · If-match acl 2000:匹配命中該ACL中permit規則的數據包 |
user-profile命令用來創建User Profile,並進入User Profile視圖。如果指定的User Profile已經存在,則直接進入User Profile視圖。
undo user-profile命令用來刪除指定的User Profile。
【命令】
user-profile profile-name
undo user-profile profile-name
【缺省情況】
不存在User Profile。
【視圖】
係統視圖
【缺省用戶角色】
network-admin
【參數】
profile-name:表示User Profile的名稱,為1~31個字符的字符串,隻能包含英文字母[a-z,A-Z]、數字、下劃線、連字符,且必須以英文字母或數字開始,但不能為純數字,區分大小寫。User Profile的名稱必須全局唯一。
【使用指導】
User Profile的名稱必須全局唯一。
【舉例】
# 創建名稱為a123的User Profile,並進入其視圖。
<Sysname> system-view
[Sysname] user-profile a123
不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!