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

08 安全命令参考

目录

19-User Profile命令

本章节下载 19-User Profile命令  (96.14 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S5130/S5130-HI/Command/Command_Manual/H3C_S5130-HI_CR-R1118P02[R1122]-6W102/08/201804/1074904_30005_0.htm

19-User Profile命令


1 User Profile

1.1  User Profile配置命令

1.1.1  display user-profile

【命令】

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

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

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

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

【举例】

# 显示所有User Profile配置信息和在线用户信息。

<Sysname> display user-profile

  User-Profile: abc

    Inbound:

      Policy: abc

    Outbound:

      Policy: abc

 

    slot 1:

      User -:

        Authentication type: 802.1X

        Network attributes:

          Interface    : GigabitEthernet1/0/1

          MAC address  : 6805-ca06-557b

          Service VLAN : 1 

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

字段

描述

User-Profile

User Profile名称

Policy

策略名

Authentication type

用户认证类型

·     802.1X

·     MACA

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,并进入其视图;否则直接进入其视图。

【举例】

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

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]

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

新华三官网
联系我们