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

16-BRAS业务命令参考

目录

08-User Profile命令

本章节下载 08-User Profile命令  (248.90 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/SR_Router/SR8800-F/Command/Command_Manual/H3C_SR8800-F_CR-R7951PXX-6W102/16/202011/1358711_30005_0.htm

08-User Profile命令


1 User Profile

说明

·     本特性仅在standard工作模式下支持。有关系统工作模式的介绍,请参见“基础配置指导”中的“设备管理”。

·     仅CSPEX类单板(CSPEX-1104-E除外)支持配置User Profile功能。

·     仅CSPEX类单板(除CSPEX-1204之外)支持配置Session Group Profile和User Group Profile功能、基于接口应用User Profile。

 

1.1  User Profile配置命令

1.1.1  display user-group-profile

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

【命令】

(独立运行模式)

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

(IRF模式)

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

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

name profile-name:表示User Group Profile的名称。如果未指定本参数,将显示所有User Group Profile的配置信息和在线用户信息。

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

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

【举例】

# 显示设备上的User Group Profile配置信息及被授权该User Group Profile的在线用户信息。

<Sysname> display user-group-profile

  User Group Profile: g1

    Direction: Outbound

      General Traffic Shaping:

        If-match any:

        CIR 1000 (kbps), CBS 62500 (Bytes), EBS 0 (Bytes)

 

    slot 4:

      User spirent:

        User ID: 0x2811177c

        Authentication type: PPP

        Network attributes:

          Interface : Bas-interface0

          VPN : N/A

      User spirent:

        User ID: 0x2811177b

        Authentication type: PPP

        Network attributes:

          Interface : Bas-interface0

          VPN : N/A

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

字段

描述

User Group Profile

User Group Profile名称

Generic Traffic Shaping

流量整形

If-match any

匹配所有数据包

User spirent

与User Profile或Session Group Profile关联的用户信息

User ID

用户ID

 

1.1.2  display user-profile

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

【命令】

(独立运行模式)

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

(IRF模式)

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

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

session-group:显示Session Group Profile的配置信息和在线用户信息。

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

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

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

    Direction: Inbound

      Committed Access Rate:

        CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      Policy: p1

    Direction: Outbound

      Committed Access Rate:

        CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      Policy: p2

      User queue:

        CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

        Queue length: 1024 (Packets)

        QMProfile: qm1

        User group profile: ug1

    Connection-limit amount: 1000

    Connection-limit rate: 100

    User user_1:

      Authentication type: Portal

      Network attributes:

        Interface    : GigabitEthernet3/1/3

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

# 显示设备上的Session Group Profile配置信息及被授权该Session Group Profile的在线用户信息。

<Sysname> display user-profile session-group

  Session Group Profile: aaa

    Direction: Outbound

      Committed Access Rate:

        CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      QMProfile: a

 

    User user_1:

      Authentication type: Portal

      Network attributes:

        Interface    : GigabitEthernet3/1/3

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

 

  Session Group Profile: bbb

    Direction: Outbound

      Committed Access Rate:

        CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      QMProfile: a

 

    User user_2:

      Authentication type: Portal

      Network attributes:

        Interface    : GigabitEthernet3/1/2

        IP address   : 172.16.187.166

        VPN          : N/A

        Service VLAN : 100

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

字段

描述

User Profile

User Profile名称

Inbound

在入方向上应用的策略

Outbound

在出方向上应用的策略

Session Group Profile

Session Group Profile名称

CIR

承诺信息速率,单位为kbps

CBS

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

EBS

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

PIR

峰值信息速率

Connection-limit amount

用户最大连接数

Connection-limit rate

用户最大连接速率

Policy

策略名

User queue

用户队列

Queue length

用户队列最多能够容纳的报文个数

QMProfile

队列调度策略

User group profile

User Group Profile名称

User user_1

与User Profile或Session Group Profile关联的用户信息

Authentication type

用户认证类型

·     Portal

·     PPP

·     IPoE

Network attributes

用户特征信息

Failed action list

在该用户上应用失败的动作

 

1.1.3  display user-profile interface

display user-profile interface命令用来显示接口上应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

【命令】

(独立运行模式)

display user-profile interface [ interface-type interface-number ] [ slot slot-number ] [ inbound | outbound ]

(IRF模式)

display user-profile interface [ interface-type interface-number ] [ chassis chassis-number slot slot-number ] [ inbound | outbound ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-type interface-number:指定接口类型和接口编号。如果未指定本参数,将显示所有接口上应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

slot slot-number:显示接口上应用的User Profile的配置情况和指定单板接口上配置的状态和流量监管的统计信息,slot-number表示单板所在的槽位号。如果未指定本参数,将显示接口上应用的User Profile的配置情况和主用主控板接口上配置的状态和流量监管的统计信息。(独立运行模式)

chassis chassis-number slot slot-number:显示接口上应用的User Profile的配置情况和指定成员设备上指定单板接口上配置的状态和流量监管的统计信息,chassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。如果未指定本参数,将显示接口上应用的User Profile的配置情况和主用主控板接口上配置的状态和流量监管的统计信息。(IRF模式)

inbound:显示入方向应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

outbound:显示出方向应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

【使用指导】

如果不指定inboundoutbound参数,则显示接口任意方向上应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

如果指定inboundoutbound参数,则仅显示以指定方向方式应用的User Profile的配置情况、配置的状态和流量监管的统计信息,不会显示以无方向方式应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

【举例】

# 显示设备所有接口上以入方向方式应用的User Profile中的配置情况、配置的状态和流量监管的统计信息。

<Sysname> display user-profile interface inbound

Interface: GigabitEthernet3/1/1

  Direction: Inbound

    User Profile: u1

      Committed Access Rate(active):

        CIR 112 (kbps), CBS 5120 (Bytes), EBS 0 (Bytes)

        Green action  : pass

        Yellow action : pass

        Red action    : discard

        Green packets : 0 (Packets) 0 (Bytes)

        Yellow packets: 0 (Packets) 0 (Bytes)

        Red packets   : 0 (Packets) 0 (Bytes)

# 显示接口GigabitEthernet3/1/1任意方向上应用的User Profile的配置情况、配置的状态和流量监管的统计信息。

<Sysname> display user-profile interface gigabitethernet 3/1/1

Interface: GigabitEthernet3/1/1

  Direction: Inbound

    User Profile: test

      Committed Access Rate(active):

        CIR 112 (kbps), CBS 5120 (Bytes), EBS 0 (Bytes)

        Green action  : pass

        Yellow action : pass

        Red action    : discard

        Green packets : 0 (Packets) 0 (Bytes)

        Yellow packets: 0 (Packets) 0 (Bytes)

        Red packets   : 0 (Packets) 0 (Bytes)

  Direction: Outbound

    User Profile: test

      Committed Access Rate(active):

        CIR 112 (kbps), CBS 5120 (Bytes), EBS 0 (Bytes)

        Green action  : pass

        Yellow action : pass

        Red action    : discard

        Green packets : 0 (Packets) 0 (Bytes)

        Yellow packets: 0 (Packets) 0 (Bytes)

        Red packets   : 0 (Packets) 0 (Bytes)

# 显示聚合接口Route-Aggregation 1任意方向上应用的User Profile的配置情况、配置的状态和其在slot 2上的流量监管的统计信息。

<Sysname> display user-profile interface route-aggregation 1 slot 2

Interface: Route-Aggregation 1

  User Profile: u2

    Direction: Inbound

      Committed Access Rate(inactive):

        CIR 128 (kbps), CBS 8000 (Bytes), EBS 0 (Bytes)

        Green action  : pass

        Yellow action : pass

        Red action    : discard

        Green packets : 0 (Packets) 0 (Bytes)

        Yellow packets: 0 (Packets) 0 (Bytes)

        Red packets   : 0 (Packets) 0 (Bytes)

      Policy(inactive): p

      User queue:

        Limit Rate(inactive):       

          CIR 30000 (kbps), CBS 1875000 (Bytes), EBS 0 (Bytes), PIR 40000 (kbps)

    Direction: Outbound

      Committed Access Rate(inactive):

        CIR 128 (kbps), CBS 8000 (Bytes), EBS 0 (Bytes)

        Green action  : pass

        Yellow action : pass

        Red action    : discard

        Green packets : 0 (Packets) 0 (Bytes)

        Yellow packets: 0 (Packets) 0 (Bytes)

        Red packets   : 0 (Packets) 0 (Bytes)

      Policy(inactive): p

      User queue:

        Limit Rate(inactive):       

          CIR 3000 (kbps), CBS 187500 (Bytes), EBS 0 (Bytes), PIR 3000 (kbps)

          Queue length: 3000 (Packets)

        QMProfile(inactive): a

        User group profile(inactive): g

      Qos Weight(inactive): 4

      Queue Name(inactive): af3

    Connection-limit amount(inactive): 3000

    Connection-limit rate(inactive): 500

    IGMP access policy:

      3000

    MLD access policy:

      3000

    Authentication-free rule:

      acl 3000  

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

字段

描述

Direction

User Profile应用在接口的方向,取值为:

·     Inbound:表示接口入方向上所应用的User profile的配置信息、配置的状态和流量监管的统计信息

·     Outbound:表示接口出方向上所应用的User profile的配置信息和流量监管的统计信息

User Profile

接口各方向上应用的User Profile的名称

Committed Access Rate

流量监管的配置信息和统计信息

Generic Traffic Shaping

流量整形的配置信息

If-match any

匹配所有报文,即流量整形对上线用户的所有流量生效

active

表示该配置下发成功,已生效

inactive

表示该配置下发失败,未生效

CIR

承诺信息速率,单位为kbps

CBS

承诺突发尺寸,单位为byte

EBS

超出突发尺寸,单位为byte

PIR

峰值信息速率,单位为kbps

Green action  : pass

绿色报文的执行动作:允许通过

Yellow action  : pass

黄色报文的执行动作:允许通过

Red action  : discard

红色报文的执行动作:丢弃

Green packets

绿色报文的流量统计,单位为报文个数和字节数

Yellow packets

黄色报文的流量统计,单位为报文个数和字节数

Red packets

红色报文的流量统计,单位为报文个数和字节数

QoS Weight

出方向配置的调度权重

Queue Name

为会话指定进入的队列名称

Connection-limit amount

用户最大连接数

Connection-limit rate

用户最大连接速率

Igmp access-policy

IGMP用户的接入策略

mld access-policy

MLD用户的接入策略

Authentication-free rule

(暂不支持)User Profile免认证规则

Policy

QoS策略的名称

QMProfile

队列调度策略

Queue length

用户队列最多能够容纳的报文个数

 

其它显示信息解释请参见表1-2

【相关命令】

·     qos apply user-profile

·     reset user-profile interface

1.1.4  qos apply user-profile

qos apply user-profile命令用来在接口上应用User Profile。

undo qos apply user-profile命令用来取消在接口上应用User Profile。

【命令】

qos apply user-profile profile-name [ inbound | outbound ]

undo qos apply user-profile [ inbound | outbound ]

【缺省情况】

接口上未应用User Profile。

【视图】

三层以太网接口视图

三层以太网子接口视图

三层聚合接口视图

三层聚合子接口视图

【缺省用户角色】

network-admin

【参数】

profile-name:User Profile的名称,为1~31个字符的字符串,只能包含英文字母a-z,A-Z、数字(0-9)、下划线(_)、连字符(-)和英文句号(.),支持以字母或数字开头,但不能为纯数字,区分大小写。

inbound:在入方向应用User Profile。

outbound:在出方向应用User Profile。

【使用指导】

如果指定inboundoutbound参数,User Profile中相关的配置的方向需要与User Pofile应用在接口上所指定的方向一致时,该配置才会生效。

如果不指定inboundoutbound参数,表示在接口上应用一个无方向的User Profile。

接口同一个方向上(入方向、出方向或无方向)只能应用一个User Profile,如需修改请先取消已有应用。

同时,在取消接口上所应用的User Profile时,只会根据所指定的方向(入方向、出方向或无方向)删除对应方向上所应用的User Profile。

【举例】

# 在接口上以无方向方式应用名称为u1的User Profile。

<Sysname> system-view

[Sysname] interface gigabitethernet 3/1/1

[Sysname-GigabitEthernet3/1/1] qos apply user-profile u1

# 在接口入方向上应用名称为u1的User Profile。

<Sysname> system-view

[Sysname] interface gigabitethernet 3/1/1

[Sysname-GigabitEthernet3/1/1] qos apply user-profile u1 inbound

【相关命令】

·     display user-profile interface

·     reset user-profile interface

·     user-profile

1.1.5  qos queue

qos queue命令用来在User Profile中为会话指定进入的队列。

undo qos queue命令用来恢复缺省情况。

【命令】

qos queue { queue-id | queue-name }

undo qos queue

【缺省情况】

User Profile下未指定会话进入的队列。

【视图】

User Profile视图

【缺省用户角色】

network-admin

【参数】

queue { queue-id | queue-name }:让应用此user profile的会话进入指定队列,queue-id表示队列序号,queue-name表示队列名称。queue-idqueue-name的对应情况如表1-4所示。

表1-4 queue-idqueue-name对应表

queue-id数字

queue-name

0

be

1

af1

2

af2

3

af3

4

af4

5

ef

6

cs6

7

cs7

 

【使用指导】

应用此命令可以为对多个会话指定不同的队列从而决定其不同优先级的调度方式。

仅CSPEX类单板(除CSPEX-1204之外)支持本配置。

【举例】

# 在名称为user的User Profile中,指定会话进入队列7。

<Sysname> system-view

[Sysname] user-profile user

[Sysname-user-profile-user] qos queue 7

1.1.6  qos session-group identify

qos session-group identify命令用来在接口下配置会话组识别方式。

undo qos session-group identify命令用来恢复缺省情况。

【命令】

qos session-group identify { customer-vlan | service-vlan | customer-service-vlan }

undo qos session-group identify

【缺省情况】

接口下未配置会话组识别方式。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

customer-vlan:按内层VLAN识别会话组,内层VLAN为用户的私网VLAN。

service-vlan:按外层VLAN识别会话组,外层VLAN为运营商分配给用户的公网VLAN。

customer-service-vlan:按内层VLAN和外层VLAN识别会话组。

【使用指导】

若要配置Session Group Profile,则必须首先指定会话组的识别方式。

【举例】

# 在接口 GigabitEthernet3/1/1上配置基于外层vlan的会话组识别方式。

<Sysname> system-view

[Sysname] interface  GigabitEthernet3/1/1

[Sysname- GigabitEthernet3/1/1] qos session-group identify service-vlan

1.1.7  qos user-queue

qos user-queue命令用来配置用户队列调度参数。

undo qos user-queue命令用来恢复缺省情况。

【命令】

qos user-queue { cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ queue-length queue-length ] | qmprofile qmprofile-name | user-group-profile user-group-profile-name } * outbound

qos user-queue { cir committed-information-rate [ cbs committed-burst-size ] pir peak-information-rate [ ebs excess-burst-size ] [ queue-length queue-length ] | qmprofile qmprofile-name | user-group-profile user-group-profile-name } * outbound

undo qos user-queue outbound

【缺省情况】

未配置用户队列调度参数。

【视图】

User Profile视图

【缺省用户角色】

network-admin

【参数】

cir committed-information-rate:承诺信息速率,单位为kbps。取值范围为300~100000000。

cbs committed-burst-size:承诺突发尺寸,单位为byte。取值范围为4096~133169152。

ebs excess-burst-size:超出突发尺寸,在双令牌桶算法中超出承诺突发流量的部分,单位为byte。取值范围为0~256000000。

pir peak-information-rate:峰值速率,单位为kbps。取值范围为300~100000000。

queue-length queue-length:用户队列的最大长度,单位为报文个数。取值范围为1~12582912。

qmprofile qmprofile-name:队列调度策略名称,指定的队列调度策略必须已存在。

user-group-profile profile-name:User Group Profile的名称,指定的User Group Profile必须已存在。

outbound:在User Profile的出方向配置用户队列调度参数,即针对设备发送给上线用户的流量做调度。

【使用指导】

通过本命令,可以对同一User Profile下的所有用户的队列调度参数做如下统一配置:

·     配置限速相关参数;

·     用户报文缓存队列使用统一的队列调度策略;

·     用户的授权User Profile与User Group Profile直接关联。

仅CSPEX类单板(除CSPEX-1204之外)支持本配置。

对于已经授权的User Profile:

·     如果已关联队列调度策略或User Group Profile,可以修改队列调度策略或User Group Profile中的相关参数;

·     不可以新增、修改或删除已配置的任何参数,如需修改,请先使用undo qos user-queue命令删除,再配置所需参数。

若要删除已被关联的User Group Profile或队列调度策略,请先通过undo qos user-queue命令删除关联关系。

由于User Group Profile和Session Group Profile实现功能一致,所以对于同一上线用户来说,无法对其同时配置User Group Profile和授权Session Group Profile。

【举例】

# 在名称为u1的User Profile中配置用户队列限速的承诺信息速率为512kbps,队列最大长度为2048,报文缓存队列使用统一的名称为qm1的队列调度策略,并将本User Profile与名称为g1的User Group Profile直接关联。

<Sysname> system-view

[Sysname] user-profile u1

[Sysname-user-profile-u1] qos user-queue cir 512 queue-length 2048 qmprofile qm1 user-group-profile g1 outbound

【相关命令】

·     qos qmprofile(ACL和QoS命令参考/QoS)

·     user-group-profile

1.1.8  qos weight outbound(user-profile view,user-group-profile view,session-group-profile view)

qos weight outbound命令用来User Profile、User Group Profile或在Session Group Profile出方向配置调度权重。

undo qos weight outbound命令用来恢复缺省情况。

【命令】

qos weight weight-value outbound

undo qos weight outbound

【缺省情况】

未配置User Profile、User Group Profile或Session Group Profile出方向的调度权重。

【视图】

User Profile视图

User Group Profile视图

Session Group Profile视图

【缺省用户角色】

network-admin

【参数】

weight-value:调度权重的值,取值范围为1~15。

outbound:调度权重应用到User Profile、User Group Profile或Session Group Profile的出方向,即对设备发送给上线用户的流量配置调度权重。

【使用指导】

配置User Profile、User Group Profile或Session Group Profile的调度权重后,用户组或单一用户可以根据调度的权重值分配带宽资源。

【举例】

# 为名为abc的user-profile配置出方向调度权重。

<Sysname> system-view

[Sysname] user-profile abc

[Sysname-user-profile-abc] qos weight 3 outbound

# 为名为abc的Session-Group-profile配置出方向调度权重。

<Sysname> system-view

[Sysname] user-profile abc type session-group

[Sysname-session-group-profile-abc] qos weight 3 outbound

1.1.9  reset user-profile interface

reset user-profile interface命令用来清除接口上应用的User Profile的流量监管统计信息。

【命令】

reset user-profile interface [ interface-type interface-number ] [ inbound | outbound ]

【视图】

用户视图

【缺省用户角色】

network-operator

【参数】

interface-type interface-number:指定接口类型和接口编号。如果不指定本参数,表示清除所有接口上应用的User Profile的流量监管统计信息。

inbound:清除入方向User Profile的流量监管统计信息。

outbound:清除出方向User Profile的流量监管统计信息。

【使用指导】

如果不指定inboundoutbound参数,表示清除接口所有方向的流量监管统计信息。

【举例】

# 清除在所有接口所有方向上应用User Profile流量监管的统计信息。

<Sysname> reset user-profile interface

# 清除在接口GigabitEthernet3/1/1上应用User Profile流量监管的统计信息。

<Sysname> reset user-profile interface gigabitethernet 3/1/1

【相关命令】

·     display user-profile interface

·     qos apply user-profile

1.1.10  user-group-profile

user-group-profile命令用来创建User Group Profile,并进入User Group Profile视图。如果指定的User Group Profile已经存在,则直接进入User Group Profile视图。

undo user-group-profile命令用来删除指定的User Group Profile。

【命令】

user-group-profile profile-name

undo user-group-profle profile-name

【缺省情况】

不存在User Group Profile。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

profile-name:表示User Group Profile的名称,为1~31个字符的字符串,只能包含英文字母a-z,A-Z、数字(0-9)、下划线(_)、连字符(-)和英文句号(.),支持以字母或数字开头,但不能为纯数字,区分大小写。User Group Profile的名称不能和已有的User Profile及Session Group Profile类型的User Profile的名称相同。

【使用指导】

不能删除已授权的User Profile中所关联的User Group Profile。如需删除,请先通过undo qos user-queue命令删除关联关系。

【举例】

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

<Sysname> system-view

[Sysname] user-group-profile a123

[Sysname-user-group-profile-a123]

1.1.11  user-profile

user-profile命令用来创建User Profile,并进入User Profile视图。如果指定的User Profile已经存在,则直接进入User Profile视图。

undo user-profile命令用来删除指定的User Profile。

【命令】

user-profile profile-name [ type session-group ]

undo user-profile profile-name

【缺省情况】

不存在User Profile。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

profile-name:表示User Profile的名称,为1~31个字符的字符串,只能包含英文字母a-z,A-Z、数字(0-9)、下划线(_)、连字符(-)和英文句号(.),支持以字母或数字开头,但不能为纯数字,区分大小写。User Profile的名称必须全局唯一。User Profile的名称不能和已有的User Group Profile及Session Group Profile类型的User Profile的名称相同。

type session-group:指定创建的User Profile类型为Session Group Profile。

【使用指导】

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

【举例】

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

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]

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

<Sysname> system-view

[Sysname] user-profile a123 type session-group

[Sysname-session-group-profile-a123]

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

新华三官网
联系我们