22 1551-Lza7016016 1uen N
22 1551-Lza7016016 1uen N
Description
Disclaimer
The contents of this document are subject to revision without notice due to
continued progress in methodology, design and manufacturing. Ericsson shall
have no liability for any error or damage of any kind resulting from the use of this
document.
Trademark List
All trademarks mentioned herein are the property of their respective owners.
These are shown in the document Trademark Information.
Contents
1 Introduction 1
1.1 Target Groups 1
2 General Information 2
2.1 Typographic Conventions 2
2.1.1 Command Line 2
2.1.2 Command Response 3
2.2 Terminology 3
4 Command Listing 7
5 Generic Commands 11
5.1 help 11
5.2 changePWD 14
5.3 clearAlarmList 16
5.4 exit 17
5.5 getAlarmHistoryLog 18
5.6 getAlarmList 19
5.7 last 20
5.8 restart 22
5.9 uptime 23
5.10 ping 23
6 Subscription Commands 26
6.1 subscribe 26
6.2 unsubscribe 28
6.3 getSubscriptionIds 28
6.4 getSubscriptionStatus 29
6.5 suspendSubscription 30
6.6 resumeSubscription 31
7 Basic CM Commands 33
7.1 Transaction Management Commands 33
7.1.1 startTransaction 34
7.1.2 checkConsistency 35
7.1.3 commit 36
7.1.4 endTransaction 38
7.1.5 getTransactionId 39
7.1.6 getTransactionStatus 39
7.2 MO Management Commands 40
7.2.1 createMO 41
7.2.2 setMOAttribute 42
7.2.3 getMOAttribute 44
7.2.4 deleteMO 45
7.2.5 action 46
7.2.6 getContainment 47
7.2.7 findMO 49
7.2.8 deleteMOAttributeValue 50
8 Bulk CM Commands 52
8.1 startSession 53
8.2 upload 54
8.3 download 56
8.4 activate 58
8.5 abortSessionOperation 59
8.6 endSession 60
8.7 getSessionIds 61
8.8 getSessionStatus 62
11 License Commands 76
11.1 setULN 76
11.2 activateLicense 77
11.3 getULN 78
11.4 setEmergencyMode 79
1 Introduction
This document describes how to handle all commands in the Command Line
Interface (CLI) of a ESC or SCU node. The CLI is accessible through a Secure
Shell (SSH) client. The purpose of this document is to support the user to
configure ESC or SCU nodes.
The ESC or SCU node connects to the ENM using Secure File Transfer Protocol
(SFTP) or FTP through a TLS server for file transfers. The SFTP server must
be set to use port 115. The TLS server for FTP must be set to use port 21.
SFTP is used for downloading software archives and uploading Performance
Management (PM) data. The ESC or SCU node also sends Simple Network
Management Protocol (SNMP) traps to an SNMP agent in the ENM. In addition,
O&M support for configuring ESC or SCU nodes is available, based on the
Ericsson Common Information Model (ECIM).
— Site engineers
— Network engineers
2 General Information
This section explains the typography used in this document and explains some
terms that must be understood to comprehend the text.
Entities on the command line are separated from each other by one or more
spaces. All entities are case insensitive unless otherwise stated for the command.
All entities are not used in all commands.
The values for parameters are given in a specific order. The order defines the
parameter for which the value applies. The specific order of parameters for each
command corresponds to the order of parameters in the tables of the command
descriptions.
— At the end the line, type a back-slash character: (\) and press Enter to make
the command line continue on the next line.
— Press Ctrl+J to make the command line continue on the next line.
Input Typography
The following example describes the input data to be given in a command and
also how the commands are reproduced in this document:
The CLI is case insensitive. However, for clarity all input commands and
parameters given in this document are written as in the example above. When
typing a command, the user may omit the case handling without consequences.
OperationSucceeded
When a command could not be successfully received and processed, the node
responds with the following status:
OperationFailed
Some commands result in a response with more data. The tables for each
command give all output data.
Output Typography
The following example describes the output given as a response to a command
and also how the output data are reproduced in this document:
2.2 Terminology
The following are brief explanations of concepts that are used in this document:
Login Syntax
ssh oss@IP_address
oss@IP_address's password:
>
The user login is initiated by typing ssh followed by oss@IP_address. The node
requests for a password.
Entering the wrong password five consecutive times locks the account for 15
minutes. Every subsequent attempt to connect during this period extends the
locked state of the account with another 15 minutes.
Input
Output Data
Output Description
hostname> The CLI command prompt is presented if the login is successful.
Access denied This message is given if the password is incorrect
oss@<IP_address>'s
password: Note:
Output Description
or The declining login response will vary depending on the SSH client used.
Two examples are given here.
Permission denied
(publickey,password,k
eyboard-interactive).
Example
ssh [email protected]
[email protected]'s password:
esc01-ki09>
Logout Syntax
> exit
Input
4 Command Listing
This section lists all available commands. The table contains the following
information:
5 Generic Commands
This section describes generic commands related to the functionality and security
of the node.
— help
— changePWD
— clearAlarmList
— exit
— getAlarmHistoryLog
— getAlarmList
— last
— restart
— uptime
— ping
5.1 help
The help command can be used in three ways:
— help The output lists all available commands and MO classes. No input
parameter is given.
— help [command]
— help [moClass]
Command Syntax
help
help [command]
help [moClass]
Input Data
Output Data
Example 1
help
Available commands:
abortsessionoperation
abortswsessionoperation
activate
activatelicense
activatesw
changepwd
...
uptime
Available MO-classes:
ACMeter
ACPhase
AirConditioner
AlarmEntry
AlarmOutputPort
AlarmPort
...
WindPower
In this example the help command is used without giving any parameter. The
response is a list of all available commands and MO classes.
Example 2
help commit
Commit a transaction
Usage:
commit <transactionID> <forcedCommit> <autoRollback> <minutes>
Description:
The operation commits all configuration changes in a transactio →
n (operations setMOAttribute, createMO and deleteMO).
If <forcedCommit> is set (default: false), the site node can per →
form a node restart if required because of changed attributes. I →
f not set and a node restart is required because of changed attr →
ibutes, then the site node rejects the commit operation.
In this example, help is requested for the MO class commit. The response is a brief
description of the command commit and a declaration of parameters that can be
used with this command.
Example 3
help Equipment
Description of MO Class Equipment
SDN
+-SerialPort
+-Modbus
+-Equipment SDN
+-ECBus
+-Equipment
MO Modbus packet counters
this MO is created by the system
Attribute Descriptions
productName:
Product name of connected equipment
productNumber:
In this example, help is requested for the MO class Equipment. The response is a
brief description of the MO class Equipment.
5.2 changePWD
This command changes the password for the oss or oss-security user, which are
the only users in the system that use password authentication.
The user must use the password to log on to the node through an SSH
connection.
The following restrictions on the password are mandatory (default values from
the PasswordPolicy MO):
— The same character must not be used more than three times total.
Command Syntax
Input Parameters
Output Data
Example
In this example, to change the password, the user first types the old password,
aBc_12345678, then changes it to xyZ6789@1234 and verifies it again to be
xyZ6789@1234.
In this example, to change the password for the oss-security user, the user first
types the username oss-security, then the old password, aBc_12345678, then
changes it to xyZ6789@1234 and verifies it again to be xyZ6789@1234.
In this example, to delete the password for the oss-security user, the user first
types the username oss-security, then the command parameter delete.
5.3 clearAlarmList
This command can be used in two modes:
— clearAlarmList
— clearAlarmList [alarmId]
Command Syntax
clearAlarmList
Input Parameters
Output Data
Example 1
clearAlarmList
Operation successful
Example 2
clearAlarmList 33, 49
Operation successful
In this example, the alarms with identification number 33 and 49 have been
cleared.
5.4 exit
This command is used to logout from the node CLI.
Logout Syntax
> exit
Input
5.5 getAlarmHistoryLog
This command returns the last 50 alarm events.
Command Syntax
getAlarmHistoryLog
Input Parameters
None.
Output Data
Example
getAlarmHistoryLog
Feb 27 15:50:09 MO: ManagedElement=1,SystemFunctions=1,LogM=1,Lo →
g=SecurityLog TYPE: new SEVERITY: warning ID: 3 SPECIFIC: Log Ex →
port Service Unavailable ADD TEXT:
Feb 27 15:40:34 MO: SDN=0,EthernetInterface=NORTHBOUND-ETH TYPE →
: clear SEVERITY: cleared ID: 1 SPECIFIC: Link down ADD TEXT:
Feb 27 15:40:32 MO: SDN=0 TYPE: new SEVERITY: warning ID: 2 SPEC →
IFIC: Post Installation Notice ADD TEXT: Node security is weak
Feb 27 15:40:09 MO: SDN=0,EthernetInterface=NORTHBOUND-ETH TYPE →
: new SEVERITY: minor ID: 1 SPECIFIC: Link down ADD TEXT:
OperationSucceeded
In this example, a list of all alarm events from node installation is given in the
following order:
2. The alarm with the specific problem Post Installation Notice was
raised.
3. The alarm with the specific problem Link down was cleared.
4. The alarm with the specific problem Log Export Service Unavailable
was raised.
5.6 getAlarmList
This command can be used in two modes:
— getAlarmList
Lists all the alarms divided by a new line. No input parameter is given.
— getAlarmList [formatted]
Command Syntax
getAlarmList
getAlarmList [formatted]
Input Parameters
Output Data
Example 1
getAlarmList
ManagedElement=1,SystemFunctions=1,LogM=1,Log=SecurityLog;
alarmId=98;
eventTime=2024-03-15 T15:41:32;
eventType="qualityOfServiceAlarm";
severity="critical";
probableCause="x733ConfigurationOrCustomizationError";
specificProblem="Log Export Service Unavailable";
additionalText="Old log entries will be lost";
OperationSucceeded
In this example, a critical quality of service alarm was issued: the Log Export
Service Unavailable.
Example 2
getAlarmList formatted
|MOName |alId |eventTime |severity |specificProblem |additiona →
lText |
|================================================================================================= →
========|
|SDN=0 |2 |2024-02-27|warning |Post Installation|Node secu →
rity is |
| | |T15:40:32 | |Notice |wea →
k |
|------------------------------------------------------------------------------------------------- →
--------|
|ManagedElement=1,SystemFunctions=1 |3 |2024-02-27|warning |Log Export →
| |
|,LogM=1,Log=SecurityLog | |T15:50:09 | |Service →
| |
| | | | |Unavailable →
| |
|------------------------------------------------------------------------------------------------- →
--------|
OperationSucceeded
In this example, the following two alarms are active on the node at the moment
of command execution:
— Post installation notice that node security is weak.
5.7 last
This command is used to print the last logins on a system.
Command Syntax
last
Input Parameters
None.
Output Data
Example
last
oss pts/1 10.44.29.174 Tue Apr 9 12:31 - 12:31 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:29 - 12:29 (0+00:00)
oss pts/0 10.40.138.143 Tue Apr 9 12:29 still logged in
oss pts/0 10.44.29.174 Tue Apr 9 12:27 - 12:27 (0+00:00)
oss pts/0 10.44.29.174 Tue Apr 9 12:25 - 12:25 (0+00:00)
oss pts/0 10.44.29.174 Tue Apr 9 12:23 - 12:23 (0+00:00)
oss pts/0 10.44.29.174 Tue Apr 9 12:22 - 12:22 (0+00:00)
oss pts/0 10.44.29.174 Tue Apr 9 12:19 - 12:19 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:17 - 12:17 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:15 - 12:15 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:13 - 12:13 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:11 - 12:11 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:09 - 12:09 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:07 - 12:07 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:05 - 12:05 (0+00:00)
oss pts/1 10.44.29.174 Tue Apr 9 12:03 - 12:03 (0+00:00)
wtmp begins Mon Apr 8 23:48:57 2024
OperationSucceeded
In this example, the last logins are listed. The output is displayed in the following
columns:
— An IP address
— Empty value
— An
application-
specific value
5.8 restart
This command initializes a restart of the node. All connections to the node
are reset as part of the operation. The restart does not clear performance
management data. If a subscription exists, the node resumes sending heartbeat
notifications when the restart is completed.
It is not possible to log in again until the restart is completed, this can take up to
1 minute.
Command Syntax
restart
Input Parameters
None.
Output Data
Example
restart
OperationSucceeded
5.9 uptime
This command returns the system uptime in days, hours, minutes and seconds.
Command Syntax
uptime
Input Parameters
None.
Output Data
Example
uptime
3 days, 12:20:30
OperationSucceeded
5.10 ping
This command tests if the node can reach a defined destination IP address by
sending three echo requests from a source IP address through the IP network.
The test checks the IP network connectivity and is useful at installation before
taking the node into service.
The ping operation is used to test if the site node can reach a particular
destination through the IP network from a particular source address. The source
address is optional. If given, it must be one of the configured IP addresses. The
source address must be the primary IP address or one of the MO IP Interfaces.
The site node sends three echo requests to the defined destination address. The
time between the echo requests is 1 second. The site node waits 1 second for an
echo response.
Command Syntax
Input Parameters
Output Data
Example 1
ping 192.168.69.152
"3/3 received OK"
OperationSucceeded
In this example, the source IP address is not given. The ESC then selects a
suitable interface as the source based on the routing table. The destination IP
address is 192.168.69.152. The output string "3/3 received OK" indicates
that 3 out of 3 pings have been successful.
Example 2
6 Subscription Commands
All subscribers get a heartbeat trap that notifies that the node is active. The
heartbeat interval can be set to 1–10 minutes. If set to 0, no heartbeats will be
issued.
— subscribe
— unsubscribe
— getSubscriptionIds
— getSubscriptionStatus
— suspendSubscription
— resumeSubscription
6.1 subscribe
This command adds or updates a subscriber to the node, that is, a receiver of
notification messages.
Command Syntax
Input Parameters
Output Data
Example 1
subscribe 192.168.59.62 2
1
OperationSucceeded
Example 2
6.2 unsubscribe
This command disables or stops the sending of alarms and notifications to a
specified user and removes the subscription. When unsubscribe is performed for
the last defined subscription, the node stops sending alarms and other traps. If
wakeUpRegistration is defined, then the node starts sending wakeUpMessages.
Command Syntax
unsubscribe subId
Input Parameters
Output Data
Example
unsubscribe 1
OperationSucceeded
In this example, the subscriber listed with the subscriber ID = 1 is removed from
the subscription list.
6.3 getSubscriptionIds
This command returns all subscriptions existing in the node.
Command Syntax
getSubscriptionIds
Input Parameters
None.
Output Data
Example 1
getSubscriptionIds
1,3,2
OperationSucceeded
Example 2
getSubscriptionIds
--
OperationSucceeded
6.4 getSubscriptionStatus
This command returns the characteristics of a specified subscription.
Command Syntax
getSubscriptionStatus subId
Input Parameters
Output Data
Example
getSubscriptionStatus 1
notSuspended 2 192.168.59.62 SN
OperationSucceeded
In this example, the user requests the subscription status for a subscriber with
subscription ID = 1. The response gives the following information:
6.5 suspendSubscription
This command disables or stops the sending of alarms and notifications.
Command Syntax
suspendSubscription subId
Input Parameters
Output Data
Example
suspendSubscription 2
OperationSucceeded
6.6 resumeSubscription
This command activates a defined but suspended subscription. Upcoming alarms
and notifications will be sent to the subscriber.
Command Syntax
resumeSubscription subId
Input Parameters
Output Data
Example
resumeSubscription 2
OperationSucceeded
7 Basic CM Commands
Basic CM transactions can be used in parallel with software upgrade sessions but
cannot be used in parallel with bulk CM sessions. Only one basic CM transaction
can be active at the time.
start
startTransaction
getTransactionId
MO management
commands
getTransactionStatus
checkConsistency
commit
endTransaction
mandatory command
end optional command
P022129A
— startTransaction
— checkConsistency
— commit
— endTransaction
— getTransactionId
— getTransactionStatus
7.1.1 startTransaction
This command starts a basic CM transaction. For more information see
Transaction Management Commands on page 33.
Command Syntax
Input Parameters
Output Data
Example
startTransaction t1
OperationSucceeded
7.1.2 checkConsistency
This command checks the validity and atomicity of an updated configuration.
This command can be used, before a commit command is performed, to verify
that the configuration contains a complete set of MOs and attributes.
Command Syntax
checkConsistency transactionId
Input Parameters
Output Data
Example
checkConsistency t1
consistent
OperationSucceeded
7.1.3 commit
This command commits all configuration change requests in the transaction. For
more information see Transaction Management Commands on page 33.
Command Syntax
commit transactionId
commit transactionId [forcedCommit]
commit transactionId [autoRollback] [minutes]
Input Parameters
Output Data
Example 1
commit t1
OperationSucceeded
Example 2
commit t1 autoRollback 10
OperationSucceeded
7.1.4 endTransaction
This command ends a basic CM transaction.
The command End transaction must be given before a new transaction is started.
For more information see Transaction Management Commands on page 33.
Command Syntax
endTransaction transactionId
Input Parameters
Output Data
Example
endTransaction t1
OperationSucceeded
7.1.5 getTransactionId
This command returns the identity of the transaction.
Command Syntax
getTransactionId
Input Parameters
None.
Output Data
Example
getTransactionId
t1
OperationSucceeded
7.1.6 getTransactionStatus
This command returns the status of the transaction, and is only possible
to perform within a transaction. If the command is executed outside the
transaction, then it returns OperationFailed.
Command Syntax
getTransactionStatus transactionId
Input Parameters
Output Data
Example
getTransactionStatus t1
Idle
OperationSucceeded
In this example, the user requests the Transaction status for the transaction with
transaction ID t1. The Transaction state is Idle.
— createMO
— setMOAttribute
— getMOAttribute
— deleteMO
— action
— getContainment
— findMO
— deleteMOAttributeValue
7.2.1 createMO
This command creates a new MO. The command must be used within a
transaction, and setting of attributes is supported. The new MO will not take
effect until a commit command is executed.
Command Syntax
Input Parameters
Output Data
Example
createMO t1 SDN=0,IPInterface=0
outputData
OperationSucceeded
7.2.2 setMOAttribute
This command sets MO attribute values in the candidate configuration. Multiple
attribute values for one MO instance can be defined in each command. The
command must be used within a transaction. Changing an MO attribute with
the setMOAttribute command creates a temporary copy of the MO model that
includes all the changes.
Command Syntax
Input Parameters
Output Data
Example 1
In this example, the command line defines the address to which the node sends
the wake-up event.
Explanations
setMOAttribute command
t1 software session ID
SDN=0 base object instance
wakeUpRegistration attribute that is to be modified
192.168.59.62 attribute value
Example 2
or
In this example, the command line defines that the auto mode shall be used on
the Ethernet interface.
Explanations
setMOAttribute command
t1 transaction ID
SDN=0,EthernetInterface=0 base object instance
– SDN=0 – equipment number
– EthernetInterface=0 – interface number
mode attribute that is to be modified
auto attribute value
7.2.3 getMOAttribute
This command displays MO attribute values.
When the command is executed outside a transaction, the returned value is the
currently used value stored in flash memory.
Command Syntax
Input Parameters
Output Data
Example
If the value has been changed in the current transaction, then the new value from
the not committed MO model is returned. A changed value will be in use after
execution of the command commit.
Explanations
getMOAttribute command
t1 transaction ID
SDN=0,IPInterface=0 base object instance
– SDN=0 – equipment number
– IPInterface=0 – interface number
primaryIPAddress requested IP address
192.168.59.64
7.2.4 deleteMO
This command deletes the MO identified by the parameter baseObjectInstance.
The deletion of the MO will not take effect until a commit command is executed.
Child MOs are automatically deleted.
Command Syntax
Input Parameters
Output Data
Example
deleteMO t1 SDN=0,IPInterface=0
OperationSucceeded
7.2.5 action
The command invokes the action method of an MO, see the description of each
MO class for details on which actions are available.
Command Syntax
Input Parameters
Output Data
Example 1
In this example, the action method start of the MO with distinguished name
SDN=0,PowerManager=1,Battery=1 is invoked.
Example 2
In this example, the action method clear of the MO with distinguished name
SDN=0,Equipment=CSM2,Equipment=CMBW is invoked.
7.2.6 getContainment
This command retrieves all MO instances in a specific MO containment hierarchy
under and including the baseObjectInstance.
Command Syntax
Input Parameters
If the parameter transactionId is not given, then the output will display the
state of the committed configuration.
Output Data
Example 1
getContainment t1
SDN=0;
SDN=0,Equipment=0;
SDN=0,EthernetInterface=0;
SDN=0,IPInterface=0;
SDN=0,MeasurementDefinition=0;
SDN=0,RadioInterface=1;
SDN=0,RadioInterface=1,AlarmEntry=RADIO_LOST;
SDN=0,RadioInterface=1,AlarmEntry=RADIO_PIN;
SDN=0,RadioInterface=1,AlarmEntry=RADIO_PUK;
OperationSucceeded
In this example, the transaction ID of the open transaction is t1. The response
shows the candidate configuration MOs in the transaction.
Example 2
In this example, the transaction ID of the open transaction is t1 and the Base
object is SDN=0. The response shows the candidate configuration MOs in the
sub-tree that starts with SDN=0,RadioInterface=1.
7.2.7 findMO
This command displays all MO classes that matche the class name and the
attributes listed.
Command Syntax
findMO moClass [attribute=attributeValue [attribute=attributeValue]...]
Input Parameters
Output Data
Example 1
findMO EthernetInterface
SDN=0,EthernetInterface=NORTHBOUND-ETH
SDN=0,EthernetInterface=2
SDN=0,EthernetInterface=3
SDN=0,EthernetInterface=4
SDN=0,EthernetInterface=5
SDN=0,EthernetInterface=6
SDN=0,EthernetInterface=7
SDN=0,EthernetInterface=8
OperationSucceeded
In this example, the MO classes that match the class name EthernetInterface
are displayed.
Example 2
In this example, the MO classes that match the class name EthernetInterface
and the attributes portNumber and operationalState with the values 2 and
enabled are displayed.
7.2.8 deleteMOAttributeValue
This command deletes an MO attribute value in the candidate configuration. The
command must be executed within a transaction. Deletion will not take effect
until a commit command is executed.
This command is applicable only for writable attributes that can be set to empty
values.
Command Syntax
Input Parameters
Output Data
Example
deleteMOAttributeValue t1 ManagedElement=1,SystemFunctions=1,SecM= →
1,UserManagement=1 userLabel
OperationSucceeded
Explanations
deleteMOAttributeValue command
t1 transaction ID
ManagedElement=1,SystemFunctio base object instance
ns=1,SecM=1,UserManagement=1
userLabel attribute that is to be modified
8 Bulk CM Commands
The commands described in this section are related to the downloading and
uploading of configuration files and the activation of new configurations. The
configuration files hold configuration data for the Management Information Base
(MIB). Files for download to the node are generated by the ENM. Files are
uploaded to be processed by the ENM.
The flow chart below illustrates the command flow in a session. Commands that
are not connected to the flow can be given at any time.
start
startSession
getSessionIds
download upload
getSessionStatus
activate
getPendingConfiguration
endSession
abortSessionOperation
end
mandatory command
optional command
P022130A
— startSession
— upload
— download
— activate
— abortSessionOperation
— endSession
— getSessionIds
— getSessionStatus
8.1 startSession
This command starts a bulk CM session. A bulk CM session can be used in parallel
with a software upgrading session but cannot be used in parallel with a basic CM
transaction. Only one bulk CM session can be active at a time.
Command Syntax
Input Parameters
Output Data
Example 1
In this example, a session is created with ID bcm1. The IP address of the SNMP
Manager is 192.168.59.62.
Example 2
IPv4
startSession id 10.0.0.1:1062
or:
startSession 10.0.0.1
IPv6
startSession id [2001:abcd::1]:1062
or:
startSession 2001:abcd::1
In this example, syntax for starting bulk CM session with or without SNMP port
is specified. Where SNMP Manager IPv6 address is used, and SNMP port is
specified, square brackets need to be added.
8.2 upload
This command orders the uploading of a bulk CM XML configuration file from the
node to an SFTP server. If the specified file already exists, it is replaced by the
new file.
Command Syntax
Input Parameters
Output Data
Example
In this example, the user has requested an upload with the following parameters:
Explanations
upload command
bcm1 session ID
sftp:// file source reference for IPv4
smith:[email protected]
9.152/SDNCFG/
sdn82_CM.xml
sftp:// file source reference for IPv6
smith:123abc@[2001:abc
d::1]/SDNCFG/
sdn82_CM.xml
CM file content
30 progress interval
8.3 download
This command orders the downloading of, for example
When the complete file has been downloaded, the requested attribute values are
stored in a temporary file in flash memory.
Command Syntax
Input Parameters
Output Data
Example
ch.xml 15
OperationSucceeded
In this example, the user has requested a download with the following
parameters:
— Progress interval: 15 s
8.4 activate
This command activates the configuration changes in a downloaded bulk CM file.
See activateLicense on page 77 for activation of a downloaded LKF file. If the
delayed parameter is not set, the downloaded file is activated immediately.
The SSH terminal connection is reset in the case of a restart. Connection must be
reinitialized after the node restarted.
Command Syntax
Input Parameters
Output Data
Example 1
activate bcm1
OperationSucceeded
In this example, the downloaded attribute changes are activated without delay.
The session ID is bcm1.
Example 2
8.5 abortSessionOperation
This command interrupts any session in progress, that is the uploading or
downloading of bulk CM files. Any downloaded data is discarded. No uploaded
data is deleted.
Command Syntax
abortSessionOperation sessionId
Input Parameters
Output Data
Example
abortSessionOperation bcm1
OperationSucceeded
8.6 endSession
This command ends a bulk CM session. Operations in progress related to the bulk
CM session are terminated.
Command Syntax
endSession sessionId
Input Parameters
Output Data
Example
endSession bcm1
OperationSucceeded
In this example, the user requests the session with ID bcm1 to be terminated.
8.7 getSessionIds
This command returns the identity of the present bulk CM session.
Command Syntax
getSessionIds
Input Parameters
None
Output Data
Example
getSessionIds
bcm1
OperationSucceeded
8.8 getSessionStatus
This command returns the status of a specific bulk CM session.
Command Syntax
getSessionStatus sessionId
Input Parameters
Output Data
— UploadFailed
— UploadCompleted
— DownLoadInProgress
— DownloadFailed
— DownloadCompleted
— ActivationInProgress
— ActivationFailed
— ActivationCompleted
Operation status Indicates either of the following:
— Operation successful
Example
getSessionStatus bcm1
DownLoadInProgress
OperationSucceeded
In this example, the user has requested the session status for session bcm1. The
response displays the state DownloadInProgress.
The PM data is collected for most MO instances and periodically saved and
uploaded to ENM where the PM data can be viewed and analyzed for 24 hours.
After 24 hours ENM transfers the PM data to another service, such as ENIQ. The
collected PM data concern different predefined features in the node.
— suspendPMMeasurements
— resumePMMeasurements
9.1 suspendPMMeasurements
This command stops/disables PM data collection and PM data upload.
Command Syntax
suspendPMMeasurements PMMeasurementInstance
Input Parameters
Output Data
Example
suspendPMMeasurements SDN=0,MeasurementDefinition=0
OperationSucceeded
In this example, the PM data collection and PM data upload are disabled. The
parameter PMMeasurementInstance is SDN=0,MeasurementDefinition=0.
9.2 resumePMMeasurements
This command initiates or enables PM data uploading and specifies details of the
file storage destination.
Command Syntax
Input Parameters
Output Data
Example
Once software is ordered for the node, it can be downloaded from https://
swgateway.ericsson.net/.
— startSWSession
— downloadSW
— activateSW
— endSWSession
— getSWSessionIds
— getSWSessionStatus
— abortSWSessionOperation
10.1 startSWSession
This command starts a software upgrading session. One basic CM transaction or
one bulk CM session can be used in parallel with a software session. Only one
software session can be active at a time.
Command Syntax
Input Parameters
Output Data
Example
startSWSession s1 192.168.59.62
OperationSucceeded
10.2 downloadSW
This command orders the downloading of new software for the node
hardware. The downloaded software is temporarily stored in the node until
it is activated with the activateSW command or until the session is ended
with the endSWSession command. Restarting the node or aborting with the
abortSWSessionOperation command during software downloading, erases the
downloaded software.
Command Syntax
Input Parameters
Output Data
Example 1
Explanations
downloadSW command
sw1 software session ID
Explanations
SDN=0 the equipment to download software to
sftp:// sftp command
smith:[email protected]
– Secured File Transfer Protocol
9.152/SDNSW/NEW_IMG
node_sw.img – username
– sftp – password
– smith – IP address of the source host
– 123abc – file path
– 192.168.69.152 – file to be downloaded
- /SDNSW/NEW_IMG
– node_sw.img
30 notification interval in seconds
Example 2
Explanations
downloadSW command
sw1 software session ID
SDN=0,Equipment=CSM1,E the equipment to download software to
quipment=CMBW
sftp:// sftp command
smith:[email protected]
– Secured File Transfer Protocol
9.152/SDNSW/NEW_IMG
node_sw.img – username
– sftp – password
– smith – IP address of the source host
– 123abc – file path
– 192.168.69.152 – file to be downloaded
- /SDNSW/NEW_IMG
– node_sw.img
30 notification interval in seconds
10.3 activateSW
This command closes all established traffic connections, including O&M traffic
and SSH sessions, and restarts the node with the latest downloaded software.
All SSH terminal connections are reset in the case of a restart. The connection
must be reinitialized after the initial restart timeout.
Command Syntax
Input Parameters
Output Data
Example 1
activateSW sw1
OperationSucceeded
Example 2
Explanations
activateSW command
sw1 software session ID
autoRollback autoRollback feature utilized in the command
10 autoRollback time limit in minutes
10.4 endSWSession
This command ends a software upgrading session. Operations in progress related
to the software session are terminated. Downloaded software remains in flash
memory regardless of whether it has been activated or not.
Command Syntax
endSWSession sessionId
Input Parameters
Output Data
Example
endSWSession sw1
OperationSucceeded
10.5 getSWSessionIds
This command returns the identity of existing software sessions.
Command Syntax
getSWSessionIds
Input Parameters
None
Output Data
Example
getSWSessionIds
s1
OperationSucceeded
10.6 getSWSessionStatus
This command returns the status of a software upgrading session.
Command Syntax
getSWSessionStatus sessionId
Input Parameters
Output Data
— DownLoadInProgress
— DownloadFailed
— DownloadCompleted
— ActivationInProgress
— ActivationFailed
— ActivationCompleted
Operation status Indicates either of the following:
— Operation successful
Example
getSWSessionStatus s1
DownLoadInProgress
OperationSucceeded
In this example, the user requests the status of the software upgrading session
s1. The response displays the status DownLoadInProgress
10.7 abortSWSessionOperation
This command interrupts software downloading. After the interruption, the
downloaded software is erased from the node.
Command Syntax
abortSWSessionOperation sessionId
Input Parameters
Output Data
Example
abortSWSessionOperation sw1
OperationSucceeded
11 License Commands
All features in the ESC or SCU node are subjects for licensing. A customer can buy
a license key file to unlock node features. To unlock the features, the file must be
downloaded to the node and activated.
A license key file is coupled to one specific node, through the Unique Logical
Name (ULN). To be able to activate the file, the ULN of the file must be identical
to the ULN of the node.
When configuring a previously unused node, the user can set the node ULN,
download the license key file to the node, and activate the file. When the license
key file is activated, the ULN of the node can only be reset by performing a
factory reset. When the license key file is activated, the fingerprintUpdateable
attribute under MO ManagedElement=1,SystemFunctions=1,Lm=1 in ENM
Topology Browser is set to false, which means that the fingerprint that
represents the ULN in ECIM model cannot be changed anymore.
When updating a node license, the user must download the file to the node and
activate the file.
— setUln
— activateLicense
— getUln
— setEmergencyMode
11.1 setULN
This command sets the ULN of a specific node.
Command Syntax
setULN ULNname
Input Parameters
Output Data
Example
setULN box1
OperationSucceeded
11.2 activateLicense
This command activates a new LKF, downloaded with the command download.
If successful, the current LKF is replaced with the new one and all the new license
keys are applied. If the activation fails, the old LKF is retained.
Command Syntax
activateLicense sessionId
Input Parameters
Output Data
Example
activateLicense s1
OperationSucceeded
setULN site1
startSession s
download s sftp://<address to XML license file>
activateLicense s
endSession s
In this example the ULN is set, a session is started, and the LKF is downloaded
and activated. The session ID is s. The setULN command is not required when
updating a license file.
11.3 getULN
This command gets the Unique Logical Name (ULN) for a specific node.
Command Syntax
getULN
Input Parameters
None.
Output Data
Example
GetULN
box1
OperationSucceeded
In this example the ULN for the node is requested. The retrieved ULN is box1.
11.4 setEmergencyMode
setEmergencyMode sets the license handling in emergency mode. This enables
all features for a limited period of seven days. At the end of the time period, the
license handling reverts to the old license.
Command Syntax
setEmergencyMode
Input Parameters
None.
Output Data
Example
setEmergencyMode
OperationSucceeded
— createAvailableMOs
— getIRPVersion