• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

12-安全命令参考

目录

06-User Profile命令

本章节下载 06-User Profile命令  (110.82 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/MSR/MSR_5600/Command/Command_Manual/H3C_MSR_CR(V7)-R0306-6W106/12/201609/955164_30005_0.htm

06-User Profile命令


1 User Profile

说明

MSR 2630/3610/3620/3620-DP/3640/3660/3600-28/3600-51/MSR2600-10-X1路由器使用集中式命令行,MSR 5620/5660/5680路由器使用分布式命令行。

 

设备各款型对于本节所描述的特性支持情况有所不同,详细差异信息如下:

型号

特性

描述

MSR810/810-W/810-W-DB/810-LM/810-W-LM

/810-LM-HK/MSR810-W-LM-HK

User Profile

不支持

MSR 2630

支持

MSR3600-28/3600-51

支持

MSR 3610/3620/3620-DP/3640/3660

支持

MSR 5620/5660/5680

支持

MSR2600-10-X1

支持

 

1.1  User Profile配置命令

1.1.1  display user-profile

display user-profile用来显示User Profile的配置信息和在线用户信息。

【命令】

集中式设备:

display user-profile [ name profile-name ]

分布式设备-独立运行模式/集中式IRF设备:

display user-profile [ name profile-name ] [ slot slot-number ]

分布式设备-IRF模式:

display user-profile [ name profile-name ] [ chassis chassis-number slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

name profile-name:表示User Profile的名称,为1~31个字符的字符串,只能包含英文字母[a-z,A-Z]、数字、下划线,且必须以英文字母开始,区分大小写。User Profile的名称必须全局唯一。如果未指定本参数,将显示所有User Profile的配置信息和在线用户信息。

slot slot-number:显示User Profile的配置信息和指定单板的在线用户信息,slot-number表示单板所在的槽位号。如果未指定本参数,将显示User Profile的配置信息和所有在位单板的在线用户信息。(分布式设备-独立运行模式)

slot slot-number:显示User Profile的配置信息和指定成员设备的在线用户信息,slot-number表示设备在IRF中的成员编号。如果未指定本参数,将显示User Profile的配置信息和所有成员设备的在线用户信息。(集中式IRF设备)

chassis chassis-number slot slot-number:显示User Profile的配置信息和指定成员设备上指定单板的在线用户信息,chassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。如果未指定本参数,将显示User Profile的配置信息和所有成员设备上在位单板的在线用户信息。(分布式设备-IRF模式)

【举例】

# 显示在名称为aaa的User Profile配置信息及被授权该User Profile的在线用户信息。(集中式设备)

<Sysname> display user-profile name aaa

  User-Profile: aaa

    Inbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p1

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p2

 

    slot 0:

      User user_1:

        Authentication type: PPP

        Network attributes:

          Interface    : Virtual-Access8096

# 显示2号单板上的User Profile配置信息及被授权该User Profile的在线用户信息。(分布式设备-独立运行模式)

<Sysname> display user-profile slot 2

  User-Profile: aaa

    Inbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes

      Policy: p1

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p2

 

    User user_1:

      Authentication type: ppp

      Network attributes:

        Interface    : Virtual-Access8096

# 显示在1号成员设备2号单板上名称为aaa的User Profile配置信息及被授权该User Profile的在线用户信息。(分布式设备-IRF模式)

<Sysname> display user-profile name aaa chassis 1 slot 2

  User-Profile: aaa

    Inbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p1

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p2

 

    User user_1:

      Authentication type: ppp

      Network attributes:

        Interface    : Virtual-Access8096

# 显示名称为bbb的User Profile配置信息及被授权该User Profile的在线用户信息。(分布式设备-IRF模式)

<Sysname> display user-profile name bbb

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1062 (Bytes), EBS 0 (Bytes)

      Policy: p3

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p4

 

    Chassis 1 Slot 2:

      User user_3:

        Authentication type: ppp

        Network attributes:

          Interface    : Virtual-Access8096

# 显示所有的User Profile配置信息及被授权该User Profile的在线用户信息。(分布式设备-IRF模式)

<Sysname> display user-profile

  User-Profile: aaa

    Inbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p1

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p2

 

    Chassis 1 Slot 2:

      User user_1:

        Authentication type: ppp

        Network attributes:

          Interface    : Virtual-Access8096

 

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1062 (Bytes), EBS 0 (Bytes)

      Policy: p3

    Outbound:

      CIR 33 (kbps), CBS 2062 (Bytes), EBS 0 (Bytes)

      Policy: p4

    Chassis 1 Slot 5:

      User user_7:

        Authentication type: ppp

        Network attributes:

          Interface    : Virtual-Access8097

表1-1 表1-1 display user-profile 命令显示信息描述表

字段

描述

User-Profile

User Profile名称

Inbound

在入方向上应用的策略

Outbound

在出方向上应用的策略

CIR

承诺信息速率,单位为kbps

CBS

承诺突发尺寸,也就是容纳突发流量的令牌桶深度,单位为byte

EBS

超出突发尺寸,在双令牌桶算法中超出突发流量超过承诺突发流量的部分,单位为byte

Policy

策略名

User user_1

与User Profile关联的用户信息

Authentication type

用户认证类型,目前仅支持PPP

Network attributes

用户特征信息

 

1.1.2  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已存在,则直接进入该User Profile的视图。

User Profile的名称必须全局唯一。

【举例】

# 创建名称为a123的User Profile,并进入其视图。

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们