You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Configuring Licenses Using CLI on Network Mode

Network licensing is limited to certain deployments in SBC. For more information, contact the Sonus Technical Assistance Center (TAC).

To configure the licenseMode:

% set system licenseMode mode < legacy | local | network>


% set system licenseMode mode network

 

Restart the SBC services if you change the network mode at any point of time.

Ensure that you have installed licenses on SLS before attempting license configuration at the SBC.

To see the licenseRequired:

% set system licenseRequired
Possible completions:
  DSP-AMRNB  DSP-AMRWB    DSP-EVRC      DSP-G722      ENCRYPT      POL-BASE     SBC-1X10GMP  SBC-4X1GMP  SBC-LI      SBC-MRF-RTU
  SBC-MSRP   SBC-NICEREC  SBC-POL-E911  SBC-POL-ENUM  SBC-POL-RTU  SBC-PSX-RTU  SBC-RTU      SBC-SIP-I   SBC-SIP323  SBC-SIPREC
  SBC-VIDEO  SRTP         SWE-INSTANCE  VDSP-RTU

To configure the SBC-MRF-RTU license:

% set system licenseRequired <feature_name> maxCount <Enter "unlimited" or value in range of (2..1000000)> minCount <1 to 256000>
% set system licenseRequired SBC-MRF-RTU minCount 10 maxCount 100

To configure the SBC-PSX-RTU license:

% set system licenseRequired SBC-PSX-RTU	
  • SBC-PSX-RTU and SBC-POL-RTU license fetches the minCount and maxCount from SBC-RTU.
  • The minCount and maxCount are set to 1 and UNLIMITED respectively, if you do not provide the values in the above CLI for minCount and maxCount.

Command Example

To see the licenseRequired:

% show details system licenseRequired
licenseRequired SBC-PSX-RTU {
    minCount 10;
    maxCount 100;
}
[ok]

To see the licenseInfo:

> show table system licenseInfo SBC-MRF-RTU
FEATURE      LICENSE  EXPIRATION  USAGE          IN
NAME         ID       DATE        LIMIT  SOURCE  USE
------------------------------------------------------
SBC-MRF-RTU  0000                 1000           0

To set the licenseServer:

% set system licenseServer SLS serverAddress fd00:0010:6b50:4d20:0000:0000:0000:0079 priority 1 state enabled 
[ok]


To see the licenseServer:

> show table system licenseServer
SERVER
NAME    PRIORITY  STATE    SERVER ADDRESS
--------------------------------------------------------------------
SLS     1         enabled  fd00:0010:6b50:4d20:0000:0000:0000:0079
[ok]

To see the licenseServerStatus:

> show table system licenseServerStatus
                                     LICENSE
                           LICENSE   PARTIAL   LICENSE
        IS       REQUEST   GRANT     GRANT     REJECT
SERVER  CURRENT  MESSAGES  MESSAGES  MESSAGES  MESSAGES  LICENSE
NAME    ACTIVE   SENT      RECEIVED  RECEIVED  RECEIVED  ERRORS
------------------------------------------------------------------
SLS     y        2177      18        0         0         4318
[ok]

To see the licenseInfo:

> show table system licenseInfo
              LICENSE                    USAGE           IN
FEATURE NAME  ID       EXPIRATION DATE   LIMIT  SOURCE   USE
--------------------------------------------------------------
SRTP          0000     2017-12-12-05:00  1      Network  0
SBC-LI        0000                       0               0
ENCRYPT       0000     2017-12-12-05:00  2      Network  0
SBC-RTU       0000     2017-12-12-05:00  2      Network  0
DSP-EVRC      0000     2017-12-12-05:00  1      Network  0
DSP-G722      0000     2017-12-12-05:00  1      Network  0
POL-BASE      0000                       1      BuiltIn  0
SBC-MSRP      0000     2017-12-12-05:00  1      Network  0
VDSP-RTU      0000     2017-12-12-05:00  2      Network  0
DSP-AMRNB     0000     2017-12-12-05:00  1      Network  0
DSP-AMRWB     0000     2017-12-12-05:00  1      Network  0
SBC-SIP-I     0000     2017-12-12-05:00  1      Network  0
SBC-VIDEO     0000     2017-12-12-05:00  1      Network  0
SBC-4X1GMP    0000                       0               0
SBC-SIP323    0000     2017-12-12-05:00  1      Network  0
SBC-SIPREC    0000     2017-12-12-05:00  1      Network  0
SBC-1X10GMP   0000                       0               0
SBC-MRF-RTU   0000                       0               0
SBC-NICEREC   0000                       0               0
SBC-POL-RTU   0000     2017-12-12-05:00  2      Network  0
SBC-PSX-RTU   0000     2017-12-12-05:00  2      Network  0
SBC-POL-E911  0000     2017-12-12-05:00  1      Network  0
SBC-POL-ENUM  0000     2017-12-12-05:00  1      Network  0
SWE-INSTANCE  0000     2017-12-12-05:00  1      Network  0
[ok]

Configuring Licenses Using CLI on Local Mode

Local licensing is limited to certain deployments in SBC. For more information, contact the Sonus Technical Assistance Center (TAC).

Command Syntax

To configure the licenseMode:

% set system licenseMode mode < legacy | local | network>
% set system licenseMode mode local

Restart the SBC services if you change the network mode at any point of time.

To load the license file:

> request system admin vsbcSystem license loadLicenseFile fileName sonus.xml bundleName b2
This command will load the license file kept in /opt/sonus/external path. Do you want to continue? [yes,no] yes
result success
reason Successfully loaded license file

To see the licenseLocalBundleInfo:

> show table system licenseLocalBundleInfo
                                                                                                                                                          ACTIVE
BUNDLE                LICENSE  PURCHASE  LINE                                                           EXPIRATION  USAGE                         FINGER  LICENSE
NAME    FEATURE NAME  ID       ORDER ID  ID    GENERATION DATE               INSTALL DATE               DATE        LIMIT  FINGER PRINT1          PRINT2  MODE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
b2      SBC-PSX-RTU   53780    723780    15013476549240  2017-07-29T12:00:54.0+0000  2017-08-07T04:37:38-00:00  2018-01-25Z  100    2000-*1XH6J753HC8RUL8          Local
[ok]

To see the licenseInfo:

> show table system licenseInfo
              LICENSE                    USAGE           IN
FEATURE NAME  ID       EXPIRATION DATE   LIMIT  SOURCE   USE
--------------------------------------------------------------
SBC-PSX-RTU   0000     2018-01-25-05:00  100    Local    0 
[ok]

Command Parameters

Command Parameter Descriptions

 

ParameterLength/RangeDefaultDescription
licenseModeN/AN/AIndicates the licensing mode for SBC application. This parameter is used to set the SBC licensing mode.
modelocal/networklocal

The three licensing modes are described as follows:

  • legacy—This parameter describes the current Sonus proprietary licensing mechanism.
  • local—This parameter describes the Sonus licensing functionality in a standalone mode with licenses residing on the SBC system in the Central Database (CDB).
  • network—This parameter describes the Sonus network based licensing. Licenses are retreived from an SLS.
licensesRequiredN/AN/AIndicates the licenses that SBC application requests when network licensing mode is active.
<feature name>
N/AN/AIndicates the name of the feature, which is activated with this license.
minCount1–2560001

Indicates the minimum number of licenses requested from the SLS and retained at the SBC(regardless of demand) when the associated license is first configured. When the minCount is set to the default value, one license is requested from SLS and retained at the SBC to verify the availability of the feature license. When minCount is configured for a service that is already active, the SBC requests the additional licenses required to reach the configured minimum count. If the licenses that are present at the SBC have already surpassed the configured minimum, the SBC does not require any additional requests for licenses. If a configured minimum count is not triggered by the SLS, a trap sonusSbxMinimumLicenseCountThresholdNotReached is raised to indicate the SBC is running below the configured minimum count for the associated license. The calls are continued based on the available licenses.

maxCount"unlimited", or value in range of 2–1000000unlimited

Indicates the maximum license count that can be requested from the SLS by this SBC. If this count is configured when the license is actively used and the active licenses already requested from SLS exceed the newly configured count, the SBC allows the existing licensed sessions. A trap Configuring Licenses Using CLI is raised to indicate that the SBC is operating above the configured threshold and it restricts further use of the licensed feature until the licenses at the SBC drop below the configured count.

licenseServer <license server name>Sonus Server NameN/A

Indicates the SLS name.

priority1–4N/A

Indicates the server selection priority for the SLS. The lower numerical value indicates the higher priority for the server selection. The value one denotes the highest priority and four denotes the lowest priority.

stateenabled/disableddisabled

Indicates the SLS administrative state.

serverAddresshostname/IPv4/IPv6N/AIndicates the SLS address, which can be either a FQDN or numerical network address.

Alarms/Traps

For information related to Alarms/Traps, refer to Licensing Alarms for SBC SWe Cloud.

Statistics

The following status parameters are accessible through show table global:

  • callCountCurrentStatistics - New statistics are added under global / callCountCurrentStatistics.
  • callCountIntervalStatistics - New statistics are added under global / callCountIntervalStatistics.

 

> show table global callCountCurrentStatistics
              MRF
       CALL   SESSIONS
NAME   COUNT  COUNT
------------------------
entry  1      1

Command Parameter Description

 

StatisticsDescription
Call CountThe current high water mark of total number of active calls.
MRF Sessions CountThe current high water mark of total number of MRF calls.

 

 

> show table global callCountIntervalStatistics
                                       MRF
               INTERVAL         CALL   SESSIONS
NUMBER  NAME   VALID     TIME   COUNT  COUNT
-------------------------------------------------
69      entry  true      61723  0      0
70      entry  true      62623  0      0
71      entry  true      63523  1      1
72      entry  true      64424  0      0

Command Parameter Description

 

StatisticDescription
Interval ValidThe member indicating the validity of the interval.
TimeThe system up time when the interval statistic is collected.
Call CountDisplayed as system wide total stable Call Count.
MRF Sessions CountThe current high water mark of total number of MRF calls.

 

 

  • No labels