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

01-License管理命令参考

目录

03-License client命令

本章节下载 03-License client命令  (180.21 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Wlan/00-Public/Command/Command_Manual/H3C_CR(R5426P02)-6W102/01/202006/1309118_30005_0.htm

03-License client命令


1 License client

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

系列

型号

产品代码

描述

WX1800H系列

WX1804H-PWR

EWP-WX1804H-PWR-CN

支持

WX2500H系列

WX2508H-PWR-LTE

WX2510H-PWR

WX2510H-F-PWR

WX2540H

WX2540H-F

WX2560H

EWP-WX2508H-PWR-LTE

EWP-WX2510H-PWR

EWP-WX2510H-F-PWR

EWP-WX2540H

EWP-WX2540H-F

EWP-WX2560H

支持

WX3000H系列

WX3010H

WX3010H-X-PWR

WX3010H-L-PWR

WX3024H

WX3024H-L-PWR

WX3024H-F

EWP-WX3010H

EWP-WX3010H-X-PWR

EWP-WX3010H-L-PWR

EWP-WX3024H

EWP-WX3024H-L-PWR

EWP-WX3024H-F

支持

WX3500H系列

WX3508H

WX3508H

WX3510H

WX3510H

WX3520H

WX3520H-F

WX3540H

WX3540H

EWP-WX3508H

EWP-WX3508H-F

EWP-WX3510H

EWP-WX3510H-F

EWP-WX3520H

EWP-WX3520H-F

EWP-WX3540H

EWP-WX3540H-F

支持

WX5500E系列

WX5510E

WX5540E

EWP-WX5510E

EWP-WX5540E

支持

WX5500H系列

WX5540H

WX5560H

WX5580H

EWP-WX5540H

EWP-WX5560H

EWP-WX5580H

支持

AC插卡系列

LSUM1WCME0

EWPXM1WCME0

LSQM1WCMX20

LSUM1WCMX20RT

LSQM1WCMX40

LSUM1WCMX40RT

EWPXM2WCMD0F

EWPXM1MAC0F

LSUM1WCME0

EWPXM1WCME0

LSQM1WCMX20

LSUM1WCMX20RT

LSQM1WCMX40

LSUM1WCMX40RT

EWPXM2WCMD0F

EWPXM1MAC0F

支持

 

产品系列

产品型号

产品代码

说明

WX1800H系列

WX1804H-PWR

WX1810H-PWR

WX1820H

WX1840H

EWP-WX1804H-PWR

EWP-WX1810H-PWR

EWP-WX1820H

EWP-WX1840H-GL

不支持

WX3800H系列

WX3820H

WX3840H

EWP-WX3820H-GL

EWP-WX3840H-GL

不支持

WX5800H系列

WX5860H

EWP-WX5860H-GL

不支持

 

1.1  License client配置命令

1.1.1  display license client

display license client命令用来显示设备作为License client时的配置信息和获取到的授权信息。

【命令】

display license client

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示设备作为License client时的配置信息和获取到的授权信息。

<Sysname> display license client

Username: user      

Ciphertext password: ******

License server's IPv4 address: 192.168.3.124, port: 5555

License server's IPv6 address: 2001::1, port: 6000

License client: Enabled, Registering, Miss sync count 0

Cache Size:

  License name: APMGR, cache size: 64

License Count: 1

 

ID: 34153395526cf65b09000000

License Name: APMGR

Licensed Count:32

License Description: H3C WLAN AP Management, 32 licenses

Current State: In use

Get Time: 2018-11-22 16:55:01

表1-1 display license client命令显示信息描述表

字段

描述

Username

认证用户名,如未指定则显示为Not configured

Ciphertext password

认证用户密文密码,如未指定则显示为Not configured

License server's IPv4 address: 192.168.3.124, port: 5555

License server的IPv4地址信息和端口号

License server's IPv6 address: 2001::1, port: 6000

License server的IPv6地址信息和端口号

License server's IPv4/IPv6 address: Not configured, port: Not configured

未配置License server的IPv4/IPv6地址信息和端口号

License client

License client的状态信息,取值包括:

·     Enabled:已使能

·     Disabled:未使能

·     Registering:正在注册

·     Registered:已注册

·     Miss sync count:丢失同步报文的个数

Cache Size:

  License name: APMGR, cache size: 64

License client本地缓存的License的名称和该名称License的数量

License Count

License client本地当前拥有的授权的个数

ID

一次授权的标识。License client申请一次授权,License server就会给License client分配一个ID

License name

License的名称

Licensed Count

本License的规格参数(比如H3C WLAN AP Management, 32 licenses该字段会显示32,表示一个License允许32个AP同时上线)。对于特性类型的License,该参数的取值为1

License description

License的描述信息

Current State

当前License的状态,取值为:

·     In use:当前License正在使用

·     Unusable:当前License未被使用

·     Expired (will be reclaimed in n days):当前License将在n天后失效

Get Time

License client从License server获取到License的时间

 

1.1.2  display license client statistics

display license client statistics命令用来显示设备通过License客户端申请到的所有授权的分类统计信息。

【命令】

display license client statistics

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示License client从服务器申请到的所有授权的分类统计信息。

<Sysname> display license client statistics

Name    Type       Total

APMGR   UINT32     64

表1-2 display license client statistics命令显示信息描述表

字段

描述

Name

授权名称

Type

授权的数据类型,取值包括:

·     UINT32:数量类型

·     BOOL:功能类型,数量值为用户数量

·     STRING:字符串类型,数量值为用户数量

Total

如果授权是数量类型,显示为已经申请的授权总数量;

如果授权是功能或字符串类型,显示为已经申请的授权用户总数量

 

【相关命令】

·     display license client

1.1.3  license client config cache

license client config cache命令用来配置License client本地可缓存的License的个数。

undo license client config cache命令用来禁止缓存License。

【命令】

license client config cache license-name license-name size cache-size

undo license client config cache license-name license-name

【缺省情况】

本地不允许缓存License。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

license-name:License的名称,目前取值只能为APMGR。

cache-size:本地可缓存的License的数量。

【举例】

# 允许License client本地缓存名称为APMGR的License 64个。

<Sysname> system-view

[Sysname] license client config cache license-name APMGR size 64

1.1.4  license client enable

license client enable命令用来开启License client功能。

undo license client enable命令用来关闭License client功能。

【命令】

license client enable

undo license client enable

【缺省情况】

License client功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

请先配置License server的IP地址和用户名、密码,再开启License client功能。否则,配置失败。

配置该命令后,设备会自动向License server发起连接,License server会对设备进行身份认证。如果用户名和密码正确,则认证成功,License server将为设备授权。设备获得授权后,可以使用授权对应的特性。

【举例】

# 开启License client功能。

<Sysname> system-view

[Sysname] license client enable

【相关命令】

·     license server ipv4

·     license server ipv6

·     license client username

1.1.5  license client username

license client username命令用来配置设备连接License server时使用的用户名和密码。

undo license client username命令用来恢复缺省情况。

【命令】

license client username username password { cipher | simple } password

undo license client username

【缺省情况】

未配置连接License server时使用的用户名和密码。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

username:认证用户名,为1~31个字符的字符串,区分大小写。

cipher:以密文方式设置密码。

simple:以明文方式设置密码,该密码将以密文形式存储。

password:设置的明文或密文认证密码,区分大小写。明文认证密码为1~31个字符的字符串;密文认证密码为33~73个字符的字符串。

【使用指导】

设备只能配置一个用于连接License server的用户名和密码:

·     在开启License client功能前,多次配置该命令,新配置生效。

·     在开启License client功能后,需要先关闭License client功能,才能修改用户名和密码。

【举例】

# 配置设备访问License server时使用的用户名为test,密码为123456。

<Sysname> system-view

[Sysname] license client username test password simple 123456

【相关命令】

·     license client enable

1.1.6  license server

license server命令用来配置License server的IP地址和端口。

undo license server命令用来取消License server的IP地址和端口配置。

【命令】

license server { ipv4 ipv4-address | ipv6 ipv6-address } port port-number [ vpn-instance vpn-instance-name ]

undo license server { ipv4 ipv4-address | ipv6 ipv6-address }

【缺省情况】

未配置License server的IP地址和端口。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

ipv4 ipv4-address:License server的IPv4地址。

ipv6 ipv6-address:License server的IPv6地址。

port-number:License server的端口号,取值范围为1~65535。

vpn-instance vpn-instance-name:License server所属的VPN实例。vpn-instance-name表示MPLS L3VPN的VPN实例名称,为1~31个字符的字符串,区分大小写。如果未指定本参数,则表示License server位于公网中。

【使用指导】

多次执行本命令最多可配置四组IP地址。超过四组时,配置将失败,请删除已有配置后重新配置。

请确保同一时刻,仅有一组IP地址路由可达。否则,设备将选择最先建立连接的远端设备作为License server。

如需修改License server的地址和端口,请先关闭License client功能。

【举例】

# 配置License server的地址和端口号分别为192.168.100.1和5555。

<Sysname> system-view

[Sysname] license server ipv4 192.168.100.1 port 5555

# 配置License server的IPv6地址和端口号分别为3001::1和5555。

<Sysname> system-view

[Sysname] license server ipv6 3001::1 port 5555

【相关命令】

·     license client enable

 

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

新华三官网
联系我们