01-Fundamentals Command Reference

HomeSupportResource CenterNFVH3C VSRH3C VSRTechnical DocumentsReference GuidesCommand ReferencesH3C VSR Series Virtual Services Routers Command References(V7)-R0633-6W50001-Fundamentals Command Reference
13-License management commands
Title Size Download
13-License management commands 118.68 KB

License management commands

display license

Use display license to display detailed license information.

Syntax

In standalone mode:

display license [ activation-file | activation-key | license-key ]

In IRF mode:

display license [ activation-file | activation-key | license-key ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

activation-file: Displays license information about activation files. The device supports only license installation through activation files, so this command always displays license information about activation files whether you specify this keyword or not.

activation-key: Displays license information about activation keys.

license-key: Displays license information about license keys.

slot slot-number: Specifies the member ID of an IRF member device. If no member device is specified, this command displays license information for all IRF member devices. (In IRF mode.)

Examples

# Display detailed information about all licenses.

<Sysname> display license

flash:/license/StandardTemporary.ak

Feature: STANDARD

Product Description: H3C VSR1000 License(Comware V7,STANDARD Edition,8vCPUs,1Year)

License SN: 213130A1DN0174000004

Registered at: 2018-12-04 07:16:28

License Type: Trial (days restricted)

Trial Time Left (days): 175

Current State: In use

Table 1 Command output

Field

Description

Feature

Feature name.

Product Description

License description.

Registered at

Time when the license was installed.

License Type

License type by validity period:

·     NA—The system cannot obtain the license type.

·     Permanent—Purchased license that never expires and is always valid.

·     Days restricted—Purchased license that is valid for a period of days, for example, 30 days.

·     Date restricted—Purchased license that is valid for an absolute date range, for example, 2017-05-01 to 2017-05-30.

·     Trial (days restricted)—Free trial license that is valid for a period of days.

·     Trial (date restricted)—Free trial license that is valid for an absolute date range.

Time Left (days)

Remaining days of the license. This field is available for a purchased license.

Trial Time Left (days)

Remaining days of the trial period. This field is available for a trial license.

Validity Period

Start date and end state for a date restricted purchased license. If the license is permanent, this field displays No limit.

Trial Validity Period

Start date and end state for a date restricted trial license. If the license is permanent, this field displays No limit.

Current State

State of the license:

·     In use—The license is being used.

·     Usable—The license is available for use.

·     Expired—The license has expired.

·     Uninstalled—The license has been uninstalled.

·     Unusable—The license cannot be used.

·     Invalid—The license is invalid and cannot be used.

If multiple days-restricted licenses for one feature are installed, only one license is in In use state and the rest licenses are in Usable state.

Uninstall Key

This field is available for licenses that have been uninstalled.

When you uninstall an activation file, an Uninstall file that contains an Uninstall key is created. The Uninstall key is required for transferring the license.

Uninstall Date

Date when the activation file was uninstalled.

display license device-id

Use display license device-id to display SN and DID information.

Syntax

In standalone mode:

display license device-id

In IRF mode:

display license device-id slot slot-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

When you register a license for a device, you must provide its unique SN and DID.

The DID changes each time you use the license compress command to compress the license storage. Use the display license device-id command to identify the up-to-date DID each time you register licenses.

The DID is contained in a .did file. Upload the file when you register the license with the license center.

Examples

# (In standalone mode.) Display the device SN and DID.

<Sysname> display license device-id

SN: 000c29e6c55afcda18120407

Device ID: flash:/license/000c29e6c55afcda18120407.did

# (In IRF mode.) Display the SN and DID for the specified slot.

<Sysname> display license device-id slot 1

SN: 000c29e6c55afcda18110417

Device ID: flash:/license/000c29e6c55afcda18110417.did

display license feature

Use display license feature to display brief license information for features.

Syntax

display license feature

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# (In standalone mode.) Display brief feature license information.

<Sysname> display license feature

Total: 128  Usage: 1

Feature                         Licensed        State

ADVANCED-FIREWALL-1vCPU         N               -

ADVANCED-FIREWALL-4vCPU         N               -

ADVANCED-FIREWALL-8vCPU         N               -

ADVANCED-LOADBALANCE-1vCPU      N               -

ADVANCED-LOADBALANCE-4vCPU      N               -

ADVANCED-LOADBALANCE-8vCPU      N               -

BRAS-4vCPU                      N               -

BRAS-8vCPU                      N               -

CGNAT-4vCPU                     N               -

CGNAT-8vCPU                     N               -

SSLVPN                          N               -

STANDARD                        Y               Trial

# (In IRF mode.) Display brief feature license information.

<Sysname> display license feature

Slot 1:

Total: 128  Usage: 1

Feature                         Licensed        State

ADVANCED-FIREWALL-1vCPU         N               -

ADVANCED-FIREWALL-4vCPU         N               -

ADVANCED-FIREWALL-8vCPU         N               -

ADVANCED-LOADBALANCE-1vCPU      N               -

ADVANCED-LOADBALANCE-4vCPU      N               -

ADVANCED-LOADBALANCE-8vCPU      N               -

BRAS-4vCPU                      N               -

BRAS-8vCPU                      N               -

CGNAT-4vCPU                     N               -

CGNAT-8vCPU                     N               -

SSLVPN                          N               -

STANDARD                        Y               Trial

Table 2 Command output

Field

Description

Total

Total number of licenses that can be installed.

Usage

Number of licenses stored in the license storage.

Feature

Feature that must be licensed before being used.

Licensed

Licensing state of the feature:

·     N—Not licensed.

·     Y—Licensed.

State

License type by purchasing state:

·     Formal—Purchased license.

·     Trial—Trial license.

If the feature is not licensed, this field displays a hyphen (-). To use the feature, you must install a valid license file.

 

license activation-file install

Use license activation-file install to install an activation file.

Syntax

In standalone mode:

license activation-file install license-file

In IRF mode:

license activation-file install license-file slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

license-file: Specifies the path of an activation file., a case-sensitive string of 1 to 127 characters. The activation file must be valid and stored on the device.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

(In standalone mode.) License registration requires the device's hardware SN and DID.

In IRF mode:

To install a license activation file successfully, make sure the SN and DID used for registering the feature license matches the current SN and DID of the device.

Activation files are device locked rather than MPU locked. A licensed feature can run on the entire system even after an MPU replacement.

Examples

# (In standalone mode.) Install activation file 20170810.ak.

<Sysname> system-view

[Sysname] license activation-file install flash:/license/20170810.ak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

# (In IRF mode.) Install activation file 20170811.ak to the specified slot.

<Sysname> system-view

[Sysname] license activation-file install flash:/license/20170811.ak slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Related commands

display license activation-file

display license device-id

license activation-file uninstall

license activation-file uninstall

Use license activation-file uninstall to uninstall an activation file.

Syntax

In standalone mode:

license activation-file uninstall license-file

In IRF mode:

license activation-file uninstall license-file slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

license-file: Specifies the file path, a case-sensitive string of 1 to 127 characters.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

Use this command to revoke an unexpired license if you want to transfer the license from one device to another.

When an activation file is uninstalled, the system creates an Uninstall file. Use this file together with the SN and DID of the transfer destination to register the license for the transfer destination.

A feature cannot run after you uninstall all of its activation files.

Trial licenses are not transferrable. When you uninstall the activation file of a trial license, no Uninstall file is created.

Examples

# (In standalone mode.) Uninstall activation file flash:/license/20130810.ak.

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130810.ak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Uninstall file: flash:/license/20130810.uak

# (In IRF mode.) Uninstall activation file flash:/license/20130811.ak from the specified slot.

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130811.ak slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Uninstall file: flash:/license/20130811.uak

Related commands

display license activation-file

license activation-file install

license activation-key install

Use license activation-key install to install an activation key.

Syntax

In standalone mode:

license activation-key install activation-key-string

In IRF mode:

license activation-key install activation-key-string slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

activation-key-string: Specifies the activation key in the XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX format. The string is case sensitive and must be valid.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

(In standalone mode.) License registration requires the device's hardware SN and DID.

In IRF mode:

To install a license activation key successfully, make sure the SN and DID used for registering the feature license matches the current SN and DID of the device.

Activation keys are device locked rather than MPU locked. A licensed feature can run on the entire system even after an MPU replacement.

Examples

# (In standalone mode.) Install activation key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX.

<Sysname> system-view

[Sysname] license activation-key install XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

# (In IRF mode.) Install activation key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX on the specified slot.

<Sysname> system-view

[Sysname] license activation-key install XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Related commands

display license activation-key

display license device-id

license activation-key uninstall

license activation-key uninstall

Use license activation-key uninstall to uninstall an activation key.

Syntax

In standalone mode:

license activation-key uninstall activation-key-string

In IRF mode:

license activation-key uninstall activation-key-string slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

activation-key-string: Specifies the activation key. The key is in the format of XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX. The string is case sensitive. The activation key must not be expired.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

Use this command to revoke an unexpired license if you want to transfer the license from one device to another.

If an activation key is uninstalled, the system creates an Uninstall key. Use this key together with the SN and DID of the transfer destination to register the license for the transfer destination.

A feature cannot run after you uninstall all of its activation keys.

Trial licenses are not transferrable. When you uninstall the activation key of a trial license, no Uninstall key is created.

Examples

# (In standalone mode.) Uninstall an activation key.

<Sysname> system-view

[Sysname] license activation-key uninstall XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Uninstall key: YYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY

# (In IRF mode.) Uninstall an activation key from the specified slot.

<Sysname> system-view

[Sysname] license activation-key uninstall XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Uninstall key: YYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY

Related commands

display license activation-key

license activation-key install

license compress

Use license compress to compress the license storage.

Syntax

In standalone mode:

license compress

In IRF mode:

license compress slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

Use this command if the free license storage (see the display license feature command) is not sufficient.

This command clears expired licenses and uninstalled licenses that are installed by using activation files or activation keys.

If uninstalled licenses or expired licenses exist on the device, the compression operation will make the DID change. Before performing a compression, make sure all licenses registered with the old DID have been installed. You will be unable to install such licenses after the compression.

This command clears invalid licenses (expired licenses and uninstalled licenses) and Uninstall keys from the license storage area. Back up the Uninstall keys before you compress the license storage.

Examples

# (In standalone mode.) Compress the license storage.

<Sysname> system-view

[Sysname] license compress

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files. Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

# (In IRF mode.) Compress the license storage on the specified slot.

<Sysname> system-view

[Sysname] license compress slot 1

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files. Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

license license-key install

Use license license-key install to install a license key.

Syntax

In standalone mode:

license license-key install license-key-string

In IRF mode:

license license-key install license-key-string slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

license-key-string: Specifies a license key, a string of case-sensitive characters.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

(In standalone mode.) License keys are purchased for activating licenses.

(In IRF mode.) License keys are device locked rather than MPU locked. A licensed feature can run on the entire system even after an MPU replacement.

You can install a license key on multiple devices.

Examples

# (In standalone mode.) Install a license key.

<Sysname> system-view

[Sysname] license license-key install XXXXXXXX-(XXXX-)XXXXXXXX-XXXXXXXX-XXXXXXXX

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

# (In IRF mode.) Install a license key to the specified slot.

<Sysname> system-view

[Sysname] license license-key install XXXXXXXX-(XXXX-)XXXXXXXX-XXXXXXXX-XXXXXXXX slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Related commands

display license license-key

license license-key uninstall

license license-key uninstall

Use license license-key uninstall to uninstall a license key.

Syntax

In standalone mode:

license license-key uninstall license-key-string

In IRF mode:

license license-key uninstall license-key-string slot slot-number

Views

System view

Predefined user roles

network-admin

Parameters

license-key-string: Specifies a license key, a string of case-sensitive characters. The key must not be expired.

slot slot-number: Specifies the member ID of an IRF member device. (In IRF mode.)

Usage guidelines

A feature cannot run correctly after you uninstall all of its license keys.

Examples

# (In standalone mode.) Uninstall a license key.

<Sysname> system-view

[Sysname] license license-key uninstall XXXXXXXX-XXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

# (In IRF mode.) Uninstall a license key from the specified slot.

<Sysname> system-view

[Sysname] license license-key uninstall XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Done.

Related commands

display license license-key

license license-key install

snmp-agent trap enable license

Use snmp-agent trap enable license to enable SNMP notifications for the license module.

Use undo snmp-agent trap enable license to disable SNMP notifications for the license module.

Syntax

snmp-agent trap enable license

undo snmp-agent trap enable license

Default

SNMP notifications for the license module are enabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

After you enable SNMP notifications for the license module, the device automatically generates notifications for the following events:

·     The activation file being used by the device is lost.

·     The device disconnects from the license server or reconnects to the license server successfully after it disconnects from the license server.

·     The license obtained from the license server is about to expire or has expired.

For license event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.

Examples

# Enable SNMP notifications for the license module.

<Sysname> system-view

[Sysname] snmp-agent trap enable license

Related commands

display snmp-agent trap-list (Network Management and Monitoring Command Reference)

license client enable

 


License client commands

display license client

Use display license client to display the license client configuration and the obtained license information on the license client.

Syntax

display license client slot slot-number

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the license client configuration and the obtained license information on the license client.

<Sysname> display license client slot 1

Username: user

Ciphertext password: ******

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

License client: Enabled

 

License Name: STANDARD

License Description: H3C VSR1000 License(Comware V7,STANDARD Edition,8vCPUs,1Year)

Current State: In use

Get Time: 2019-02-06 05:08:33

Table 3 Command output

Field

Description

Username

Username for login to the license server.

This field displays Not configured if no username is specified.

Ciphertext password

Password in encrypted form for login to the license server.

This field displays Not configured if no password is specified.

License server's IPv4 address

IPv4 address of the license server.

This field displays Not configured if no IPv4 address of the license server is specified.

Port

Port number of the license server.

This field displays Not configured if no port number of the license server is specified.

License client

Status of the license client:

·     Enabled.

·     Disabled.

License name

Name of the license.

License description

Description of the license.

Current State

Current status of the license:

·     In use—The license is in use.

·     Unusable—The license is not in use.

·     Reserved (client is disconnected from license server, but license is still available for n days)—The device is disconnected from the license server for more than 32 hours (excluding 32 hours), and the value n represents the number of validity days of the license.

·     Expired (will be reclaimed in n days)—The license is expired and will be reclaimed in n days.

Get Time

Time when the license was obtained from the license server.

license client username

Use license client username to specify the username and password on the license client for logging in to the license server.

Use undo license client username to delete the username and password settings.

Syntax

license client username username password { cipher | simple } password

undo license client username

Default

No username or password is specified on the license client.

Views

System view

Predefined user roles

network-admin

Parameters

username: Specify the username, a case-sensitive string of 1 to 31 characters.

cipher: Specify a password in encrypted form.

simple: Specifies a password in plaintext form.

password: Specifies the password. Its plaintext form is a case-sensitive string of 1 to 31 characters. Its encrypted form is a case-sensitive string of 33 to 73 characters.

Usage guidelines

You can specify only one username and one password on the license client for login to the license server.

If you execute the command multiple times before enabling the license client, the most recent configuration takes effect.

To modify the username and password settings on an enabled license client, disable the license client first.

Examples

# Specify test and 123456 as the username and password on the license client.

<Sysname> system-view

[Sysname] license client username test password simple 123456

license client enable

Use license client enable to enable the license client.

Use undo license client enable to disable the license client.

Syntax

license client enable

undo license client enable

Default

License client is disabled, and it cannot get licenses from the license server.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Specify the IP address, username, and password of the license server before enabling the license client. Otherwise, the configuration fails.

After you enable the license client, the device automatically initiates a connection to the license server. The license server verifies the license client identity through the username and password. If they are consistent with those specified on the license server, the license client passes authentication. Then the client can apply for licenses from the license server and use the licensed features.

Examples

# Enable the license client.

<Sysname> system-view

[Sysname] license client enable

license client install feature

Use license client install feature to apply for feature licenses from the license server and install them.

Use undo license client install feature to uninstall feature licenses and release them.

Syntax

license client install feature { bras-4vcpu | bras-8vcpu | ipsec-acc-2g | l3vpn-50 count l3vpn-count | sslvpn-100 count count | sslvpn-1000 count count | sslvpn-25 count count | sslvpn-500 count count }

undo license client install feature { bras-4vcpu |  bras-8vcpu | ipsec-acc-2g | l3vpn-50 | sslvpn-100 | sslvpn-1000 | sslvpn-25 | sslvpn-500 }

Default

The license client does not apply for feature licenses from the license server automatically.

Views

System view

Predefined user roles

network-admin

Parameters

bras-4vcpu: Specify a BRAS 4-vCPU license. The license allows 4 vCPUs for the BRAS feature.

bras-8vcpu: Specify a BRAS 8-vCPU license. The license allows 8 vCPUs for the BRAS feature.

ipsec-acc-2g: Specify an IPSec license that allows 2Gbps bandwidth.

l3vpn-50 count l3vpn-count: Specify the number of L3VPN-50 licenses, each allowing 50 L3VPNs.

sslvpn-100: Specify an SSL VPN-100 license.

sslvpn-1000: Specify an SSL VPN-1000 license.

sslvpn-25: Specify an SSL VPN-25 license.

sslvpn-500: Specify an SSL VPN-500 license.

count count: Specifies the maximum number of SSL VPN licenses, in the range of 1 to 64.

Usage guidelines

The n in the sslvpn-n license represents the number of SSL VPNs allowed on a virtual device. The number of allowed SSL VPNs are accumulated as multiple SSL VPN licenses are installed on a virtual device.

The number of L3VPNs allowed on a virtual device are accumulated as multiple L3VPN-50 licenses are installed on the device. The total number of L3VPNs allowed on a virtual device cannot exceed the upper limit on the L3VPN count supported by the device.

After a license is uninstalled and released, the license server withdraws the license. The withdrawn license can be used on other virtual devices within the validity period.

Examples

# Apply for one SSL VPN-100 license and install it.

<Sysname> system-view

[Sysname] license client install feature sslvpn-100 count 1

license client install standard

Use license client install standard to apply for a standard license from the license server and install it.

Use undo license client install standard to uninstall the standard license and release it.

Syntax

license client install standard { 1vcpu-1year | 1vcpu-3year | 1vcpu- permanent | 4vcpu-1year | 4vcpu-3year | 4vcpu-permanent | 8vcpu-1year | 8vcpu-3year | 8vcpu-permanent | l3vpn-advance | license-type }

undo license client install standard

Default

The license client does not apply for a standard license from the license server automatically.

Views

System view

Predefined user roles

network-admin

Parameters

1vcpu-1year: Specifies the 1-vCPU license with 1-year validity period.

1vcpu-3year: Specifies the 1-vCPU license with 3-year validity period.

1vcpu-permanent: Specifies the 1-vCPU license with permanent validity period.

4vcpu-1year: Specifies the 4-vCPU license with 1-year validity period.

4vcpu-3year: Specifies the 4-vCPU license with 3-year validity period.

4vcpu-permanent: Specifies the 4-vCPU license with permanent validity period.

8vcpu-1year: Specifies the 8-vCPU license with 1-year validity period.

8vcpu-3year: Specifies the 8-vCPU license with 3-year validity period.

8vcpu-permanent: Specifies the 8-vCPU license with permanent validity period.

l3vpn-advance: Specifies the permanent L3VPN license. The license allows 256 vCPUs and 240 L3VPNs.

license-type: Specify a standard license type in the format of m(v)cpu-nyear or m(v)cpu-permanent. The value for m represents the number of physical or vCPUs, and the value for n represents the number of license validity years. Make sure the specified license already exists on the license server.

Usage guidelines

Each virtual device comes with a trail license that allows 256 vCPUs free for 180 days. The trial period starts when the virtual device is created. To ensure service continuity, execute this command to apply for a formal license from the license server and install it before the trail period expires.

Choose a proper formal license to match the virtual device requirement. The number of licensed vCPUs must be equal to or greater than the vCPU upper limit supported by the virtual device. The upper limit is defined when the virtual device is created. For example, for a virtual device supporting a maximum of 5 vCPUs, an 8-vCPU license will be appropriate.

By default, a virtual device allows 8191 L3VPNs. The installation of a vCPU license does not affect this number count, but an l3vpn-advance license does. To license more than 8 vCPUs, you need to install the l3vpn-advance license. After installation, the number of allowed vCPUs is increased to 256, but the number of licensed L3VPNs is decreased to 240. In this case, you can use either of or both the following methods to increase the number of L3VPNs allowed on the virtual device:

·     Remote licensing—Execute the license client install feature l3vpn-50 count l3vpn-count command to apply for l3vpn-50 licenses from the license server. The number of L3VPNs on the virtual device will be accumulated.

·     Local licensing—Install the L3VPN advance licenses and L3VPN-50 licenses on the virtual device.

The number of licensed L3VPNs cannot exceed the L3VPN upper limit supported by the device.

Each virtual device supports only one standard license. If you apply for a new standard license on the device where a standard license has been installed, the license client will first uninstall the existing license and release it, and then apply for the new license.

Before applying for a standard license, make sure the license client and license server are reachable to each other, and the requested license exists on the license server.

After a license is uninstalled and released, the license server withdraws the license. The withdrawn license can be used on other virtual devices within the validity period.

Examples

# Apply for standard license 1vcpu-1year from the license server and install it.

<Sysname> system-view

[Sysname] license client install standard 1vcpu-1year

license server

Use license server to specify the IP address and port number of the license server.

Use undo license server to delete the license server settings on the license client.

Syntax

license server ipv4 ipv4-address  port port-number [ vpn-instance vpn-instance-name ]

undo license server ipv4 ipv4-address  port port-number [ vpn-instance vpn-instance-name ]

Default

No IP address or port number of the license server is specified.

Views

System view

Predefined user roles

network-admin

Parameters

ipv4-address: Specifies the IPv4 address of the license server.

port-number: Specifies the port number of the license server, in the range of 1 to 65535.

vpn-instance vpn-instance-name: Specifies a VPN instance to which the license server belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the license server is on the public network, do not specify this option.

Usage guidelines

You can specify a maximum of four license servers on the license client. Each license server is uniquely identified by the combination of an IP address, a port number, and a VPN instance.

When the upper limit is reached, you cannot specify new license servers unless you delete existing license server settings.

If you apply for a new standard license on a device with a standard license installed, the license client will first uninstall the existing license and release it, and then apply for the new license.

As a best practice, make sure only one license server is reachable.

To modify the license server settings on an enabled license client, disable the license client first.

Examples

# Specify 192.168.100.1 and 5001 as the IPv4 address and port number of the license server, respectively.

<Sysname> system-view

[Sysname] license server ipv4 192.168.100.1 port 5001

Related commands

license client username

license client enable

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网