Ecli Ericsson Command Line Interface
Ecli Ericsson Command Line Interface
USER GUIDE
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.
Abstract
This document describes the basic usage of the Ericsson Command-Line Interface
(ECLI) for an operator.
Contents
1 General 1
1.1 Revision Information 1
1.2 Concepts 1
1.3 Scope 1
1.4 Introduction 1
2 How to Use 3
2.1 ECLI Basic Aspects 3
2.2 AXE Operations using ECLI 10
2.3 Support Functions 57
2.4 Action on Alarms 84
3 Configuration 85
Glossary 87
Reference List 89
1 General
Other than editorial changes, this document has been revised as follows:
— 8/1553-CXA 118 03/5 Uen
• Rev. A
— Document number changed from 8/1553-CXA 118 03/4 Uen.
— Updated printouts in Section 2.2.4.7 on page 19.
— Updated printouts of Example 11 in Section 2.3.2 on page 58.
Other than editorial changes, this document has been revised as follows:
— 8/1553-CXA 118 03/4 Uen
• Rev. B
— Updated printouts of examples 2-6 in Section 2.2.4 on page 14 and
printouts of examples 1-10 in Section 2.2.9 on page 49.
• Rev. A
— Document number changed from 8/1553-CXA 118 03/3 Uen.
— Added Section 2.2.9 on page 49 for multiple user configure sessions.
1.2 Concepts
This document assumes the user is familiar with the concepts described in User
Guide Managed Object Model.
Root Position The Root Position is the highest part of the whole tree
of Managed Objects (MOs). It contains one instance of
Managed Object Class (MOC) ManagedElement.
1.3 Scope
The scope of this document is to describe how to use the ECLI to operate AXE
nodes with APG43L.
1.4 Introduction
The ECLI is a terminal-based CLI, which allows monitoring and managing an AXE
based Managed Element (ME). It is based on industry de-facto standard patterns
to make it easy to learn how to manage a system.
This document describes the ECLI and focuses on its usage with APG43L.
2 How to Use
Consequently in the remainder of this document, the term ECLI session is replaced
by the term AP session.
For a rapid and correct usage of ECLI, the user should have as reference also
the official CPI documentation (Alex library) that shows all items, MOCs, MOs,
attributes, actions, etc., part of the MOM AXE in HTML format.
Config Mode For configuring MOs that means create or delete MOs,
change attribute values and execute actions.
(config)>
While navigating to a MO (see Section 2.2.3 on page 10), the prompt changes to:
(config-<RDN>)>
Many ECLI commands are context-based and have an effect depending on the
current ECLI position or actual MO position. See also Section 2.1.4 on page 5.
All commands and the MOM items inside an AP session are subject to access
control via authorization. Each user only has access to those commands and
MOM items that are authorized by associated role. For details refer to User Guide
User Management.
— The revision number is incremented when a minor change that does not
affect the described behavior is made, for instance, when a fault that made a
documented function unusable is corrected.
The version number is meant to inform CLI users, including scripts and programs,
about what behavior to expect from the ECLI commands. Usability enhancing
features, like auto-completion and help, are not considered in the version number.
The ECLI version is displayed using version command; see Section 2.2.2 on page
10 for more details.
Navigation by changing the ECLI position is possible both in Exec Mode and in
Config Mode.
After entering Config Mode, the ECLI is at the same position as in Exec Mode.
Section 2.2.3 on page 10 describes in detail how to navigate through the MOs.
The show and ? commands can be used both in Exec Mode and Config Mode.
2.1.6 Transactions
The configuration of the APG43L can be changed by the following operations:
They are instead collected and then applied all at once in an atomic way when
the transaction is committed.
If the transaction commitment fails or if it is aborted, the prepared changes are all
discarded and none take effect.
The user can then initiate changes to attribute values and create or delete MOs.
The changes done in this way can fail due to an interference in multiple user
configure sessions which is further explained in Section 2.2.9 on page 49.
The changes done in this way do not take effect before the transaction is
committed, using command commit.
Command commit validates the transaction and, on success, commits the changes
and return to Exec Mode keeping the current ECLI position. Command commit
with the -s or --stay argument validates the transaction and, on success,
commits the changes and starts a new transaction. The ECLI mode is unchanged.
Committing can fail due to various reasons which are further explained in later
chapters. In this case, all changes prepared within the current transaction are lost,
ECLI mode remains in Config Mode and a new transaction is started.
In case of no transactional changes, command end changes the ECLI mode from
Config Mode to Exec Mode with the same ECLI position. In case of transactional
changes, command end gives an error message and it is required to use either
commit or abort to leave the Config Mode.
Transactions are automatically aborting one hour after being started. The effect
is similar to command abort.
It is recommended to keep the session concise which means to save the changes
via commit at regular intervals.
Command exit closes the AP session. This command is valid in the Exec Mode
only.
Note: When any changes are committed with the command commit the alarm
APG BACKUP NOT CREATED is raised. See Section 2.4.1 on page 84
for details.
2.1.7 Actions
MOs can contain actions that allow invoking multiple operations on objects.
Actions on MOs can be executed both in Exec Mode and Config Mode.
In general, actions are atomic and do not need any explicit commitment but there
is one exception that is the action that removes a file.
Actions can be classified into two categories for example synchronous actions and
asynchronous actions.
Like transactions, also actions can fail for various reasons. Such failures are
indicated by error messages.
2.1.8 Authorization
All MOM items and ECLI commands are subject of authorization and access
control.
Refer to User Guide User Management for further details on this subject.
The AP session provides different levels of error handling for all MOM operations
and AP commands.
The conditions for successful operations and commands execution are checked
in multiple steps:
— The operation complies with semantic rules, that is, the system state must be
valid after the operation completion.
— Error messages have a generic part and in some cases also the specific part.
The specific error messages for each MOM operation and ECLI command are
shown in the relevant chapter in this document.
— Static Help. For further details see Section 2.3.1 on page 58.
— Brief Help. For further details see Section 2.3.2 on page 58.
— Verbose Help. For further details see Section 2.3.3 on page 60.
— Information Model Help. For further details see Section 2.3.4 on page 61.
ECLI command completion and context sensitive help cannot be used after the
# character. Pressing the Tab key has no effect, and pressing the ? key will add
the character to the comment.
Any further access is determined by the earlier provided user credentials and the
roles associated with the user.
In Exec Mode, the AP session can be closed using command exit, which implicitly
closes the opened ECLI session.
In Config Mode, the AP session can be closed first using command end, then
using command exit.
Multiple sessions can exist at a time. The maximal number of parallel sessions is
256.
The DN specifies the absolute full path from the Root Position to an existing MO,
as follows:
ManagedElement=<node_name>, <class_name>=<key_value>,<clas
s_name>=<key_value>...This absolute addressing always starts with
ManagedElement=<node_name>. See an example in Section 2.2.3.1 on page 12.
Note: To display an attribute value, the show command has to be used. This
command, valid also in Exec Mode, is explained with details in Section
2.2.4 on page 14.
Faster navigation is possible by using the command dn. See an example in Section
2.2.3.3 on page 13.
— By typing .. or up, to move the ECLI position to the superior MO in the tree.
— By typing top to change the ECLI Position to the Root Position, in Exec Mode
for example:
(SystemFunctions=1)>top
>And in the Config Mode:
(config-SystemFunctions=1)>top
(config)>
(config-Snmp=1)>
Access to other MOs, attributes or actions via ECLI commands (such as show or
change) are context-sensitive and depend on the ECLI position. Consequently,
navigation simplifies usage of the ECLI commands by removing the need to
always specify a complete DN from the Root Position.
Addressing can then be performed in a relative manner by using RDNs from the
current ECLI position as follows:
Note: The space behind the comma is always optional. Multiple spaces are
allowed, and DNs can be also specified without spaces between the
key-value pairs and the commas.
CXC4011121/0003
CXC4011121/0004
CXC4011121/0013
CXC4011121/110
CXC4011121/200
CXC4011121/201
CXC4011121/202
CXC4011121/203
CXC4011121/204
(LicenseM=1)>ElectronicKey=CXC4011121/2
CXC4011121/200
CXC4011121/201
CXC4011121/202
CXC4011121/203
CXC4011121/204
(LicenseM=1)>ElectronicKey=CXC4011121/200
(ElectronicKey=CXC4011121/200)>The same applies in Config Mode.
After this navigation, all further navigation and addressing operations are
context-based from this MO.
The command dn allows to navigate the MO tree in a very fast way; see Section
2.3.8 on page 74 for a detailed description of all available command options.
The command can be used to reach a specified DN from whatever ECLI position
by specifying the related DN. For example:
(Snmp=1)dn ManagedElement=<node_name>,SystemFunctions=1,SecM=1
(SecM=1)>
Or it can be used to reach a unique existing instance of a MOC, by using the option
-m | --moc, like shown into below example in Config Mode (same applies in
Exec Mode):
(config)>dn --moc SwM
ManagedElement=<node_name>,SystemFunctions=1,SwM=1
(config-SwM=1)>
In case there are more than one instance of an existing MOC the error message
ERROR: Multiple MO instances found: is printed and all MOs instances are
listed:
>dn -m MessageStore
ERROR: Multiple MO instances found:
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHand
>The option -c |--condition can be also used to define selection criteria on the
base of a specific attribute value. For example:
>dn -m MessageStore -c messageStoreName="CHS"
ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,DataOutputHandling=
(MessageStore=CHS)>
The command works context-based and therefore depends on the current ECLI
position.
The command can be used both in Exec Mode and in Config Mode. If used in Exec
Mode, the DN from the Root Position needs to be specified.
Different variants of show commands are mentioned below which are used for
displaying the MOs and their attributes:
Note: Without options, only those attributes are displayed that have a value
assigned and not a default value.
— By using relative addressing from any current ECLI position to the target MO,
specifying <MO_RDN> as RDN from that current ECLI position.
The command is atomic and does not include non-committed changes in other
transactions.
Newly created and not yet committed MOs are displayed by show in general, but
not with the show-config parameter. In this case show-config returns error
message ERROR: Show configuration not valid during provisioning of
new object or structure.
2.2.4.2 Example 1
This example lists the output of command show for a single valued attribute.
Example 1
>show ManagedElement=tp218ap1,userLabel
userLabel=[]
>
2.2.4.3 Example 2
This example lists the output of command show for the MO BrmBackupManage
r=SYSTEM_DATA.
(BrM=1)>show BrmBackupManager=SYSTEM_DATA
BrmBackupManager=SYSTEM_DATA
autoExportUri=""
backupDomain="BRM_SYSTEM_DATA"
backupType="BRM_SYSTEM_DATA"
progressReport
actionId=0
actionName="CREATE"
additionalInfo
"Create Backup for tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55: Init
"Create Backup for tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55: Succ
progressInfo=""
progressPercentage=100
result=SUCCESS
resultInfo="tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55 was created suc
state=FINISHED
timeActionCompleted="2017-10-09T05-26-02"
timeActionStarted="2017-10-09T05-24-55"
timeOfLastStatusUpdate="2017-10-09T05-26-02"
BrmBackup=tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55
BrmFailsafeBackup=SYSTEM_DATA
2.2.4.4 Example 3
This example lists the output of command show for the MO BrM=1,BrmBackupMa
nager=SYSTEM_DATA.
(SystemFunctions=1)>show BrM=1,BrmBackupManager=SYSTEM_DATA
BrmBackupManager=SYSTEM_DATA
autoExportUri=""
backupDomain="BRM_SYSTEM_DATA"
backupType="BRM_SYSTEM_DATA"
progressReport
actionId=0
actionName="CREATE"
additionalInfo
"Create Backup for tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55: Init
"Create Backup for tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55: Succ
progressInfo=""
progressPercentage=100
result=SUCCESS
resultInfo="tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55 was created suc
state=FINISHED
timeActionCompleted="2017-10-09T05-26-02"
timeActionStarted="2017-10-09T05-24-55"
timeOfLastStatusUpdate="2017-10-09T05-26-02"
BrmBackup=tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55
BrmFailsafeBackup=SYSTEM_DATA
2.2.4.5 Example 4
2.2.4.6 Example 5
progressPercentage=100
result=SUCCESS
resultInfo="tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55 was created suc
state=FINISHED
timeActionCompleted="2017-10-09T05-26-02"
timeActionStarted="2017-10-09T05-24-55"
timeOfLastStatusUpdate="2017-10-09T05-26-02"
BrmBackup=tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55
backupName="tp218ap1-43L-3_4_0-R5A-2017-10-09T05-24-55"
creationTime="2017-10-09T05:32:41"
status=BRM_BACKUP_COMPLETE
progressReport
actionId=99
actionName=""
progressInfo=""
progressPercentage=0
result=NOT_AVAILABLE
resultInfo=""
state=FINISHED
timeActionCompleted="2017-10-09T05-26-02"
timeActionStarted="2017-10-09T05-24-55"
timeOfLastStatusUpdate="2017-10-09T05-26-02"
swVersion
description="APG43L SW Version"
productionDate="09-21-2017"
productName="APG43L"
productNumber="3.4.0"
productRevision="R5A"
type=""
BrmFailsafeBackup=SYSTEM_DATA
backupName=""
timeRemaining=1200
usageState=IDLE
progressReport
actionId=99
actionName=""
progressInfo=""
progressPercentage=0
result=NOT_AVAILABLE
resultInfo=""
state=FINISHED
timeActionCompleted="2017-10-09T05-26-02"
timeActionStarted="2017-10-09T05-24-55"
timeOfLastStatusUpdate="2017-10-09T05-26-02"
(BrM=1)>
2.2.4.7 Example 6
This example lists the output of command show-table to show information about
all instances of MOC SwVersion, the -s or --sort option parameter is provided
2.2.4.8 Example 7
(SwM=1)>show-dn
ManagedElement=<node_name>,SystemFunctions=1,SwM=1
(SwM=1)>
2.2.4.9 Example 8
This example shows the usage of the show command with the option -m and -p to
show an attribute of an unique MOC.
from the following MO instances, if any. After the last MO instance has been
displayed, an final error message is also displayed.
The error messages are always displayed left aligned, independent of how deep
in the MO hierarchy the affected MO instance is. The example below shows how
the error messages from show command is displayed.
(SysM=1)>show -m Schema
ManagedElement=<node_name>,SystemFunctions=1,SysM=1,Schema=ECIM_CommonLibrary
baseModelIdentifier="ECIM_CommonLibrary"
baseModelVersion="1.2"
identifier="ECIM_CommonLibrary"
version="1.2"
ManagedElement=<node_name>,SystemFunctions=1,SysM=1,Schema=ComTop
ERROR: Failed to get attribute value(s) for ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,
Schema=ComTop
ManagedElement=<node_name>,SystemFunctions=1,SysM=1,Schema=ComSecM
baseModelIdentifier="ECIM_Security_Management"
baseModelVersion="2.0"
identifier="ComSecM"
version="11.0.1"
ManagedElement=<node_name>,SystemFunctions=1,SysM=1,Schema=ComLocalAuthorization
ERROR: Failed to get attribute value(s) for ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,
Schema=ComLocalAuthorization
ManagedElement=<node_name>,SystemFunctions=1,SysM=1,Schema=ComLdapAuthentication
baseModelIdentifier="ECIM_LDAP_Authentication"
baseModelVersion="2.0"
identifier="ComLdapAuthentication"
version="11.0.0"
ERROR: Failed to read instances of class Schema under ManagedElement=1,SystemFunctions=1,SysM=1
ERROR: Failed to retrieve all requested information
(SysM=1)>
If the changes are entered without error, that is, no error printout is provided, then
the change is added to the transaction. Multiple attributes can be set or changed
within the same transaction.
The changes are applied after successful commit of the transaction (read more
about transactions in chapter 2.1.5) .
— Single-valued attribute.
— Sequence.
— Passwords.
— MO reference.
An error printout is displayed if the operation fails, model specific error information
can be shown as well. See table at the end of this chapter for a summary of errors
on setting attribute values.
Note: If commit fails for any reason, all attribute values entered during the failed
transaction are discarded. Consequently, the instructions in this chapter
need to be repeated to change the attributes.
The input syntax for the attribute data types is identical to the printout syntax as
described in 2.2.3, with the following exceptions:
— Strings can be entered with or without double quotation marks (”). A string
including characters with a special meaning in the ECLI ([ ,=[]"]) must be
entered with quotation marks.
The table below shows possible error messages when setting a single-valued
attribute.
2.2.5.1.1 Example
2.2.5.1.2 Example
progressInfo="" <read-only>
progressPercentage=0 <read-only>
result=NOT_AVAILABLE <read-only>
resultInfo="" <read-only>
state=FINISHED <read-only>
timeActionCompleted="1970-01-01T06:00:00" <read-only>
timeActionStarted="1970-01-01T06:00:00" <read-only>
timeOfLastStatusUpdate="1970-01-01T06:00:00" <read-only>
BrmBackupHousekeeping=SYSTEM_DATA
BrmBackupScheduler=SYSTEM_DATA
BrmFailsafeBackup=SYSTEM_DATA
(config-BrmBackupManager=SYSTEM_DATA)>
(config-BrmBackupManager=SYSTEM_DATA)>backupDomain=Domain01
ERROR: Attribute 'backupDomain' is read-only.
(config-BrmBackupManager=SYSTEM_DATA)>
2.2.5.1.3 Example
After deletion, the attribute is treated as not set. If an attribute with a default
value is deleted, the attribute becomes empty.
The table below shows possible error messages when setting a single-valued
attribute.
2.2.5.2.1 Example
2.2.5.2.2 Example
Note: The large brackets [ ] in the code printouts below have to be specified
in the command, and do not have the usual special meaning of optional
arguments.
[<RDN>, ]<sequence_name>=[<sequenceElement1>,<sequenceElement2>,...]
[<RDN>, ]<sequence_name>=<additionalElement>
or
[<RDN>, ]<sequence_name>'['@<index>']'=<new_value>
where <index> is one greater than the current number of values in the sequence
insert <sequence_name>'['@<index>']'=<new_value>
The positional index starts from 1. The index must address an existing position in
the sequence; it is not possible to add values after the last existing values.
no [<RDN>, ]<sequence_name>=<removeElementValue>
or
no [<RDN>, ]<sequence_name>'['@<index>']'
Removing all elements from an initialized sequence and therefore setting it back
to uninitialized status is performed by
no [<RDN>, ]<sequence_name>
The table below shows the possible error messages when changing sequence
attributes.
2.2.5.3.1 Example 1
2.2.5.3.2 Example 2
This example shows how to add another element in the already existing sequence
attribute. Here, USA has been added to the initiatingDestinationSet which is
a sequence attribute.
(config-FileTransferQueue=1)>initiatingDestinationSet=USA
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Ind"
"Ita"
"USA"
(config-FileTransferQueue=1)>
2.2.5.3.3 Example 3
"Ita"
"USA"
(config-FileTransferQueue=1)>
2.2.5.3.4 Example 4
This example lists the deletion of an element, for instance USA, from a sequence
attribute named asinitiatingDestinationSet.
(config-FileTransferQueue=1)>no initiatingDestinationSet=USA
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Ind"
"Ita"
(config-FileTransferQueue=1)>
2.2.5.3.5 Example 5
This example lists the deletion of an element, for instance USA , having index 3,
from a sequence attribute named asinitiatingDestinationSet, by using the
index of the element..
(config-FileTransferQueue=1)>no initiatingDestinationSet[@3]
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Ind"
"Ita"
(config-FileTransferQueue=1)>
2.2.5.3.6 Example 6
2.2.5.3.7 Example 7
(config-FileTransferQueue=1)>insert initiatingDestinationSet[@2]=Fra
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Swe"
"Fra"
"Ind"
"Ita"
(config-FileTransferQueue=1)>
2.2.5.3.8 Example 8
This example lists the replacement of an element named Ind by another element
named Jap in the sequence.
(config-FileTransferQueue=1)>initiatingDestinationSet["Ind"]=Jap
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Swe"
"Fra"
"Jap"
"Ita"
(config-FileTransferQueue=1)>
2.2.5.3.9 Example 9
This example lists the replacement of an element at the specific position identified
by index 3 by another element named Jap in the sequence.
(config-FileTransferQueue=1)>initiatingDestinationSet[@3]=Jap
(config-FileTransferQueue=1)>show
FileTransferQueue=1
initiatingDestinationSet
"Swe"
"Fra"
"Jap"
"Ita"
(config-FileTransferQueue=1)>
[<RDN>, ]<struct_name>,<struct_element>=<struct_element_value>
The table below shows possible error messages when changing struct attributes.
2.2.5.4.1 Example
This example lists to change the values of the elements of a struct attribute
productIdentity.
(config-ManagedElement=<node_name>)>productIdentity="MyProd"
(config-productIdentity)>show verbose
productIdentity="MyProd"
productDesignation=[] <empty>
productNumber="MyProd" <key>
productRevision=[] <empty>
(config-productIdentity=MyProd)>productDesignation=xyz
(config-productIdentity=MyProd)>productRevision=1.1
(config-productIdentity=MyProd)>commit -s
(config-productIdentity=MyProd)>show
productIdentity="MyProd"
productDesignation="xyz"
productRevision="1.1"
(config-productIdentity=MyProd)>
2.2.5.5.1 Example
This example lists that when cleartext is mentioned in the command with
password then the password is encrypted by the system.
dn ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,
DataOutputHandling=1,DataTransferM=1,FileTransferManager=1
(config-FileTransferManager=1)>InitiatingDestinationSet=Ita
(config-InitiatingDestinationSet=Ita)> =>
SecondaryInitiatingDestination=CHS1S
(config-SecondaryInitiatingDestination=CHS1S)>ipAddress=1.2.3.4
(config-SecondaryInitiatingDestination=CHS1S)> =>
transferProtocol=SFTPV2
(config-SecondaryInitiatingDestination=CHS1S)>username="abc"
(config-SecondaryInitiatingDestination=CHS1S)>password=mormor =>
cleartext
(config-SecondaryInitiatingDestination=CHS1S)>show
SecondaryInitiatingDestination=CHS1S
ipAddress="1.2.3.4"
password="1:BDFN49Td/4C5gSbmbIbbXc6CFvRDbMkU"
transferProtocol=SFTPV2
username="abc"
(config-SecondaryInitiatingDestination=CHS1S)>abort -s
2.2.5.6.1 Example
port=26343
agentAddress[@2]
host="4.4.4.4"
port=4444
[<DN>,]<noKeyStructSequence> .
[<DN>,]<noKeyStructSequence>,member_Name=<member_value>
[<DN>,]<noKeyStructSequence>[@<N>]
[<DN>,]<noKeyStructSequence>[@<N>],member_Name=<member_value>
A new struct instance is added to the end of the sequence and the user navigates
to the newly created instance, if the multiplicity for the attribute has not reached
the maximum value. If the struct members are set as part of the append operation,
then the specified values are set to the struct members. The command and
printout syntax for above cases are shown in following examples.
2.2.5.7.1 Example
2.2.5.7.2 Example
port=26343
agentAddress [@2]
2.2.5.7.3 Example
Adding a new struct element to the sequence by setting struct 6 adding a new
struct element member, without index.
(config-Snmp=1)>agentAddress,port=999
(config-Snmp=1)>show agentAddress
agentAddress
host="0.0.0.0"
port=26343
agentAddress
port=999
2.2.5.7.4 Example
Adding a new struct element to the sequence by setting struct member, with index.
(config-Snmp=1)>agentAddress[@3],host=9.9.9.9
(config-Snmp=1)>show agentAddress
agentAddress
host="0.0.0.0"
port=26343
agentAddress
port=999
agentAddress
host="9.9.9.9"
2.2.5.7.5 Example
Adding a new keyless struct element to the sequence with invalid positional index.
(config-Snmp=1)>agentAddress[@5]
ERROR: Invalid index '5' for a sequence containing 1
values. Use an index <=2
— The class of the referred MO must be as defined for the MO reference attribute
in the model.
The modify command receives LDNs of MO instances as pipe input, and the
operations as parameters (to generate a set of LDNs of MO instances, command
show combined with its search parameters is used):
modify <attribute_name>=<attribute_value>
modify <attribute_name>'['@<index>']'=<attribute_value>
modify <attribute_name>='['<attribute_value>']'
modify <attribute_name>'['<old_attribute_value>']'=<new_attribute_value>
modify <attribute_name>'['@<index>']'=<new_attribute_value>
For an example of a set of an attribute in all SwItem objects that match a specific
condition, see Example 3.
Example 3 Set the userLabel attribute to "test" on all SwItem objects with the
string "PRC" in the swItemId attribute
configure
(config)>
(config-<RDN>)>
where <RDN> expresses the RDN of the MO at the current ECLI position.
show <RDN_NewMO>
Note: This step is needed, because the ECLI command for MO creation is
identical to the ECLI command for changing the ECLI position to an
existing MO. The success of both operations is indicated in the same way,
by providing no printout.
The following error message should be displayed to indicate the MO does not
exist yet.
To create the new MO, enter the RDN to new MO, including its name according to
the MO naming rules.
<RDN_NewMO>
If no error printout is provided, then the operation succeeded and the ECLI
position is changed to the new MO.
The MO creation might required setting of mandatory attributes. If they are not
the commit operation fails.
Note: If the MO is created and the value for a mandatory attribute is not yet
assigned, then any further ECLI position change is rejected by an error
indication which lists the names of the mandatory attributes.
At this stage, it can be useful to use the Help and the Auto-Completion functions
of the AP session, which are further described in Section 2.3 on page 57.
The TAB key can be used to invoke the Auto-Completion and to list the available
optional and mandatory attributes to be set for the new MO.
To display Verbose Help for a specific attribute of the new MO, <attribute_name>
? can be used.
To print all attributes with their current values, the show verbose comand can
be used.
Attributes that have associated default values will have those values after
creation of a new MO.
Once mandatory and optional attributes have been set as needed, than the
transaction can be performed with the following commands:
— commit: This command commits the transaction and changes the ECLI Mode
to Exec Mode.
— commit -s: This command commits the transaction and leaves the ECLI
Mode to Config Mode.
Note: If commit fails for any reason, the ECLI discards all entered attribute
values.
2.2.6.1 Example
>configure
(config)>show
ManagedElement=<node_name>
(config)>dn ManagedElement=<node_name>,SystemFunctions=1,AxeFunctions=1,Data
(config-FileTransferManager=1)>show
FileTransferManager=1
InitiatingDestinationSet=ALOGSET
InitiatingDestinationSet=PDSSET
InitiatingDestinationSet=STSSET
InitiatingDestinationSet=Y00SET1
InitiatingDestinationSet=Y00SET2
FileTransferQueue=ALOGTQ
FileTransferQueue=GOHSTDEST1
FileTransferQueue=PDSFILE
FileTransferQueue=RELCMDHDF
FileTransferQueue=STSCOMMONMPQ
FileTransferQueue=YATSI00
RespondingDestinationSet=RESPSET
(config-FileTransferManager=1)> =>
RespondingDestinationSet=RESPSET
(config-FileTransferManager=1)>RespondingDestinationSet=RDEST1
(config-RespondingDestinationSet=RDEST1)>up
ERROR: Current cardinality of 0 for class-instance of =>
AdvancedRespondingParameters is < 1 (lower-limit) for =>
RespondingDestinationSet.
(config-RespondingDestinationSet=RDEST1)> =>
PrimaryRespondingDestination=RDEST1
(config-PrimaryRespondingDestination=RDEST1)>up
(config-RespondingDestinationSet=RDEST1)>up
ERROR: Current cardinality of 0 for class-instance of =>
AdvancedRespondingParameters is < 1 (lower-limit) for =>
RespondingDestinationSet.
(config-RespondingDestinationSet=RDEST1)>commit -s
ERROR: Current cardinality of 0 for class-instance of =>
AdvancedRespondingParameters is < 1 (lower-limit) for =>
RespondingDestinationSet.
(config-RespondingDestinationSet=RDEST1)> =>
AdvancedRespondingParameters=RDEST1
(config-AdvancedRespondingParameters=RDEST1)>commit -s
(config-AdvancedRespondingParameters=RDEST1)>show
AdvancedRespondingParameters=RDEST1
(config-AdvancedRespondingParameters=RDEST1)>up
(config-RespondingDestinationSet=RDEST1)>show -r
RespondingDestinationSet=RDEST1
respActiveDestination="RDEST1"
AdvancedRespondingParameters=RDEST1
PrimaryRespondingDestination=RDEST1
(config-RespondingDestinationSet=RDEST1)>up
(config-FileTransferManager=1)>show
FileTransferManager=1
InitiatingDestinationSet=ALOGSET
InitiatingDestinationSet=PDSSET
InitiatingDestinationSet=STSSET
InitiatingDestinationSet=Y00SET1
InitiatingDestinationSet=Y00SET2
FileTransferQueue=ALOGTQ
FileTransferQueue=GOHSTDEST1
FileTransferQueue=PDSFILE
FileTransferQueue=RELCMDHDF
FileTransferQueue=STSCOMMONMPQ
FileTransferQueue=YATSI00
RespondingDestinationSet=RDEST1
RespondingDestinationSet=RESPSET
(config-FileTransferManager=1)>
2.2.7 Delete MO
This chapter describes how to delete or remove a MO.
The configuration changes are not applied by entering the changes, but after a
successful commit of the transaction.
configure
(config)>
Parent MO should be navigated (see chapter 2.2.3), so that the prompt changes to:
no <RDN_Target_MO>
The transaction initiating the deletion can be committed with one of the following
commands:
— commit: This command commits the transaction and changes the ECLI Mode
to Exec Mode.
— commit -s: This command commits the transaction and leaves the ECLI
Mode to Config Mode.
2.2.7.1 No Command
The command applies a ‘‘no command’’ to each MO LDN that is piped to the
command.
no
no <attribute_name>
no <attribute_name>=<attribute_value>
no <attribute_name>'['@<index>']'
no aStruct[@1],aMember
Example 4 Unset a struct Member
no aStruct=aKey,aMember=aValue
Example 5 Remove a Value From a Struct Member
Example 7 Remove Maximum File Group Size Limitation in All File Group Policies Having a
Maximum Number of Files Limitation
2.2.7.2 Example
InitiatingDestinationSet=STSSET
InitiatingDestinationSet=Y00SET1
InitiatingDestinationSet=Y00SET2
FileTransferQueue=ALOGTQ
FileTransferQueue=GOHSTDEST1
FileTransferQueue=PDSFILE
FileTransferQueue=RELCMDHDF
FileTransferQueue=STSCOMMONMPQ
FileTransferQueue=YATSI00
RespondingDestinationSet=RDEST1
RespondingDestinationSet=RESPSET
(config-FileTransferManager=1)>no RespondingDestinationSet=RESP1
(config-FileTransferManager=1)>commit -s
(config-FileTransferManager=1)>show
FileTransferManager=1
InitiatingDestinationSet=ALOGSET
InitiatingDestinationSet=PDSSET
InitiatingDestinationSet=STSSET
InitiatingDestinationSet=Y00SET1
InitiatingDestinationSet=Y00SET2
FileTransferQueue=ALOGTQ
FileTransferQueue=GOHSTDEST1
FileTransferQueue=PDSFILE
FileTransferQueue=RELCMDHDF
FileTransferQueue=STSCOMMONMPQ
FileTransferQueue=YATSI00
RespondingDestinationSet=RESPSET
(config-FileTransferManager=1)>
The AXE Operational Instructions usually refer to these operation in one of the
following ways:
Actions are executed in Config Mode and Exec Mode on existing MOs.
Any attribute changes that are not yet committed are ignored during action
execution.
— Synchronous actions
— Asynchronous actions
Synchronous actions wait for the response from the transaction process before
starting another one, whereas asynchronous actions do not wait for the
transaction process to finish and initiates another transaction if required.
>
configure
(config)>
— Parent MO should be navigated (see Section 2.2.3 on page 10), so that the
prompt changes to:(<RDN>)> or (config-<RDN>)> in Config Mode
where <RDN> expresses the RDN of the MO at the current ECLI position.
Values must be specified for all the parameters that are not optional.
Otherwise, a printout is provided according to the action return type. The action
printout format is identical to the printout of command show on attributes of the
same data type.
If the action request is completed with error, then the error reason is indicated
in printout ERROR : <error_text>.
Actions start either immediately after entering the action request. Only the action
removeFile into File Management function MOM requires command commit to
start.
For the action semantics and start conditions, see the action description in the
ECLI Help or in the CPI for the MOM.
The action command receives LDNs of MO instances as pipe input, and the
action as parameter (to generate a set of LDNs of MO instances, command show
combined with its search parameters is used):
The action command starts the action on each MO instance that is piped to the
command.
For an example of delete all blob files from statistics directories in File
Management, see Example 8.
(config)>show -r -m FileGroup -c fileGroupId=~".*statistics$" -p
| action removeFile --file blob
ManagedElement=NODE06ST,SystemFunctions=1,FileM=1,FileGroup=linkstatistics,removeFile --file blob
true
ManagedElement=NODE06ST,SystemFunctions=1,FileM=1,FileGroup=loadstatistics,removeFile --file blob
false
Example 8 Delete All Blob Files from Statistics Directories in File Management
2.2.8.2 Example
BrmBackupManager.
(config-BrmBackupManager=SYSTEM_DATA)>?
cancelCurrentAction() Cancels the current
action.
createBackup() Creates a new backup
of the backupType and
backupDomain managed by
the BackupManager.
deleteBackup() Delete a backup specified
by its name and of the
backupType and nbackupDomain
managed by this BackupManager.
+BrmBackup Represents one backup of
the type and domain specified
by the BrmBackupManager in
which it is contained.
+BrmBackupHousekeeping Provides optional support
for automated housekeeping
of manually created backups.
+BrmBackupScheduler Provides optional support for
scheduling of backup creation.
(config-TranslationTable=1)>show -v
TranslationTable=1
lastUpdate="2013-12-03 03:05:30"
<read-only>
translationTableId="1"
(config-TranslationTable=1)>updateTranslationTable
(config-TranslationTable=1)>show -v
TranslationTable=1
lastUpdate="2013-12-03 07:30:05"
<read-only>
translationTableId="1"
(config-TranslationTable=1)>)
This example lists how to perform an action named createbackup and check its
progress with the attribute progressReport.
(config-BrmBackupManager=SYSTEM_DATA)>createBackup testBackup_1
true
(config-BrmBackupManager=SYSTEM_DATA)>show
BrmBackupManager=SYSTEM_DATA
backupDomain="BRM_SYSTEM_DATA"
backupType="BRM_SYSTEM_DATA"
asyncActionProgress
actionId=0
actionName="CREATE"
progressInfo="PERMIT_PHASE is completed"
progressPercentage=25
result=NOT_AVAILABLE
resultInfo=""
state=RUNNING
timeActionCompleted="1970-01-01T05:00:00"
timeActionStarted="2013-12-03T07:35:45"
timeOfLastStatusUpdate="2013-12-03T07:35:48"
progressReport
actionId=0
actionName="CREATE"
progressInfo="PERMIT_PHASE is completed"
progressPercentage=25
result=NOT_AVAILABLE
resultInfo=""
state=RUNNING
timeActionCompleted="1970-01-01T05:00:00"
timeActionStarted="2013-12-03T07:35:45"
timeOfLastStatusUpdate="2013-12-03T07:35:48"
BrmBackup=testBackup_1
BrmBackupHousekeeping=SYSTEM_DATA
BrmBackupScheduler=SYSTEM_DATA
(config-BrmBackupManager=SYSTEM_DATA)>
(config-OtherBlade=0)>reset NORMAL
ERROR: Call command failed, error code: ComFailure
Messages from transaction participants:
Action not allowed for this Functional Board Name (FBN)
(config-OtherBlade=0)>
(config-PrimaryRespondingDestination=RESPDEST)>connectionVerify
false
Messages from transaction participants:
Error connecting to remote system
2.2.8.7 Example
This example lists the failure scenario when a invalid argument value is specified
for the action exportCpFile.
(config-CpFileSystemM=1)>exportCpFile TO TO TO to
ERROR: Invalid value 'TO' for enum parameter
'mode' : ' OVERWRITE APPEND CLEAR NORMAL' is expected!
2.2.8.8 Example
This example lists the failure scenario when too many arguments are specified
for the action exportCpFile.
(config-CpFileSystemM=1)>exportCpFile TO TO TO to as
ERROR: Too many arguments for action (exportCpFile)
that takes 4 parameters < sourceCpFile dest mode toZip >
When user A performs configuration changes on a MO, this MO and its child MOs if
applicable are locked on transaction level and only released until user A performs
either commit command or abort command.
During this locking period, user B is unable to perform any configuration changes
on that MO and its child MOs if applicable until the lock is released by user A.
— Case 1:
— Case 2:
2.2.9.1 Example 1
Table 9 Example 1
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFuncti
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config-MessageStore=CHS)>numberOfFiles
(config-MessageStore=CHS)>numberOfFiles
= 100 = 200
(config-MessageStore=CHS)> ERROR: Set attributes failed for 'numberOfFil
(config-MessageStore=CHS)>
2.2.9.2 Example 2
Table 10 Example 2
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFuncti
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config-FileTransferQueue=STS)>initiatingDestinationSet=-
(config-FileTransferQueue=STS)>up
(config-FileTransferQueue=STS)> (config-FileTransferManager=1)>no FileTransfe
ERROR: Delete object failed, error code: ComO
(config-FileTransferManager=1)>
2.2.9.3 Example 3
Table 11 Example 3
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutpu
(config)>ManagedElement=tp218ap1,SystemFun
(config-MessageStore=CHS)>numberOfFiles =
(config-MessageStore=CHS)>FileBasedJob=TEST
(config-FileBasedJob=TEST)> ERROR: Set attributes failed for 'numberOf
(config-MessageStore=CHS)>
2.2.9.4 Example 4
Table 12 Example 4
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutpu
(config)>ManagedElement=tp218ap1,SystemFun
(config-MessageStore=CHS)>FileBasedJob=TES
(config-MessageStore=CHS)>FileBasedJob=TESTA
(config-FileBasedJob=TESTA)> ERROR: MO creation failed for classname: F
(config-MessageStore=CHS)>
2.2.9.5 Example 5
Table 13 Example 5
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutpu
(config)>ManagedElement=tp218ap1,SystemFun
(config-MessageStore=CHS)>FileBasedJob=TES
(config-MessageStore=CHS)>numberOfFiles = 100
(config-MessageStore=CHS)> ERROR: MO creation failed for classname: F
(config-MessageStore=CHS)>
2.2.9.6 Example 6
Table 14 Example 6
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config)>ManagedElement=tp218ap1,SystemFuncti
(config-FileTransferQueue=STS)>up (config-FileTransferQueue=STS)>initiatingDest
(config-FileTransferManager=1)>no ERROR: Set attributes failed for 'initiatingD
FileTransferQueue=STS
(config-FileTransferManager=1)> (config-FileTransferQueue=STS)>
2.2.9.7 Example 7
Table 15 Example 7
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config)>ManagedElement=tp218ap1,SystemFuncti
(config-FileTransferManager=1)>FileTransferQu
(config-FileTransferManager=1)>FileTransferQueue=STS
ERROR: MO creation failed for classname: File
(config-FileTransferQueue=STS)>initiatingDestinationSet=-
(config-FileTransferManager=1)>FileTransferQu
(config-FileTransferQueue=STS)>AdvancedFileTransferQueueInfo = TEST
(config-FileTransferQueue=HealthCheck)>
(config-AdvancedFileTransferQueueInfo=TEST)>commit -s
(config-AdvancedFileTransferQueueInfo=TEST)>
2.2.9.8 Example 8
Table 16 Example 8
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFuncti
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config-FileTransferManager=1)>FileTransferQueue=STS
(config-FileTransferManager=1)>FileTransferQu
(config-FileTransferQueue=STS)>initiatingDestinationSet=-
ERROR: MO creation failed for classname: File
(config-FileTransferQueue=STS)>AdvancedFileTransferQueueInfo = TEST
(config-FileTransferManager=1)>FileTransferQu
(config-FileTransferQueue=HealthCheck)>
(config-AdvancedFileTransferQueueInfo=TEST)>abort
WARNING: New cursor location: ManagedElement=tp218ap1,SystemFunctions=1,AxeFun
(FileTransferManager=1)>
2.2.9.9 Example 9
This example shows the notification is reported directly when user B performs
some kinds of activities in ECLI session, e.g. show command, after user A has
performed commit successfully:
Table 17 Example 9
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutpu
(config)>ManagedElement=tp218ap1,SystemFun
(config-FileTransferQueue=STS)>up (config-FileTransferQueue=STS)>initiatingD
(config-FileTransferManager=1)>no ERROR: Set attributes failed for 'initiati
FileTransferQueue=STS
(config-FileTransferManager=1)>commit -s
(config-FileTransferQueue=STS)>show
(config-FileTransferManager=1)> ERROR: Invalid location. Cursor points to
New cursor location: ManagedElement=tp218a
(config-FileTransferManager=1)>
2.2.9.10 Example 10
This example shows the notification is reported when user B performs commit or
validate, after user A has performed commit successfully:
Table 18 Example 10
User A - Configure Session 1 User B - Configure Session 2
>configure >configure
(config)>ManagedElement=tp218ap1,SystemFunctions=1,AxeFunctions=1,DataOutputHa
(config)>ManagedElement=tp218ap1,SystemFuncti
(config-FileBasedJob=TEST)>up (config-FileBasedJob=TEST)>show -v
(config-MessageStore=CHS)>no FileBasedJob=TEST
FileBasedJob=TEST
(config-MessageStore=CHS)>commit -s cdrCounterFlag=DISABLE <default>
(config-MessageStore=CHS)> fileBasedJobId="TEST"
fileSize=1024 <default>
fixedFileRecordsFlag=VARIABLE <default>
hashKey=[] <empty>
holdTime=300 <default>
minFileSize=0 <default>
paddingChar=0 <default>
recordlength=2048 <default>
transferQueue="HealthCheck"
(config-FileBasedJob=TEST)>cdrCounterFlag=ENA
(config-FileBasedJob=TEST)>commit -s
ERROR: Unable to commit incomplete object (Fi
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
Minimum multiplicity of 1 is violated for att
(config-FileBasedJob=TEST)>abort
WARNING: New cursor location: ManagedElement=
(MessageStore=CHS)>
Command scriptmode without any parameter shows the status of scripting mode.
2.2.10.1 Example 1
This example lists how to disable help, auto-completion, case correction and page
break functions in Exec Mode.
(ManagedElement=<node_name>)>scriptmode --on
(ManagedElement=<node_name>)>
2.2.10.2 Example 2
This example lists how to disable help, auto-completion, case correction and page
break functions in Config Mode.
>configure
(config)>scriptmode --on
(config)>
2.2.10.3 Example 3
This example lists how to enable help, auto-completion, case correction and page
break functions in Exec Mode.
>scriptmode --off
>
2.2.10.4 Example 4
This example lists how to enable help, auto-completion, case correction and page
break functions in Config Mode.
(config-ManagedElement=<node_name>)>scriptmode --off
(config-ManagedElement=<node_name>)>
2.2.10.5 Example 5
(ManagedElement=<node_name>)>scriptmode
scriptmode off
(ManagedElement=<node_name>)>
[<RDN>]<action>[<action_parameter_value>
[<action_parameter_value>]*]
Auto-completion and help text for the above syntax is not supported.
The options all and verbose are deprecated, and are replaced by new options
--recursive or -r and --verbose or -v respectively.
Auto-completion and help request for the deprecated options is not supported
but command execution works.
>show al TAB
>show config?
>show verbose
ManagedElement=1
The filter command is a pipe extension command to filter the output of any
command or action.
2.2.13.1 Example 1
This example shows how to filter the output of show command matching all MO
having m in the name.
(config-SystemFunctions=1)>show | filter m
SystemFunctions=1
Fm=1
Pm=1
2.2.13.2 Example 2
This example shows how to filter the output of show command matching all MO
having s or S in the name.
(config-SystemFunctions=1)>show | filter -i s
SystemFunctions=1
SecM=1
SysM=1
2.2.13.3 Example 3
This example shows how to filter the output of show command by printing the 2
lines after the one matching the string Fm.
— Static Help
— Brief Help
— Verbose Help
— Auto-Completion
— Key bindings.
Note: The description of a ECLI element is truncated till the first dot present into
related HTML Alex documentation.
(SwM=1)>?
cancel() Stops the operation and restores
the (consistent) state present
before the long lasting operation was started.
createUpgradePackage()
Creates a new UpgradePackage MO representing an
UP stored remotely in the sftp server or locally
in the file system of the ME.
removeSoftwareVersion() Removes a SW version as completely
as possible without disturbing node functionality.
removeUpgradePackage()
Removes an UpgradePackage.
<configManagedElement=<node_name>)>?
dnPrefix
It provides naming context allowing
the managed objects to be partitioned
into logical domains.
networkManagedElementId
Replaces the value component of the RDN
in the COM Northbound Interface.
siteLocation
A freetext attribute describing
the geographic location of a Managed Element.
userLabel
A freetext string for additional information
to assist Managed Element identification.
productIdentity[]
Contains product information for the
Managed Element and its Managed Function(s).
SystemFunctions
This model has a structural purpose
to group the management of the system functions
of the Managed Element.
TestRootMoc
Root of ECLI test tree.
Example 12 Brief help in Config Mode
(config-CallableThing=1)>addNumbers<space><?>
--num1 Number one
--num2 Number two
Example 13 Brief help on Action Parameter in Config Mode
ECLI help is available in any position of the ECLI command, except for the position
in key values of the RDN.
The class, attribute, and action descriptions in the printout are displayed in a
truncated form (first sentence only).
The text-formatting characters (tab, new line) are removed from the description
printouts.
<class_description>
<operation_description>
ECLI operation parameter <parameter_name>
<parameter_description>
Single-valued attribute, structure <attribute_name><attribute_type
member > optional/readonly/default=<de
fault_value>/exclusive]<attribu
te_description>
The descriptions of class, attribute, and action in the printout are displayed in a
complete form without truncating the text and the text formatting characters
(tab, new line) are kept.
Without a MOC parameter, the whole MOC tree from the top level MOC
ManagedElement is displayed. With a MOC parameter, only the subtree
beneath the specified MOC is displayed. If a MOC can occur in multiple
locations in the tree, all subtrees are displayed. If a MOC can be nested
beneath itself, only the top location is displayed.
The output displays the locations where a MOC can occur, its cardinality,
and if it can be created and deleted by users. All possible child MOCs are
listed, followed by the textual description of the MOC. Finally, all actions and
attributes belonging to the MOC are listed. The list of actions and attributes
can be suppressed by adding a property parameter without arguments.
For actions, the output displays the textual description, the return type, and
the parameters and their multiplicities and types. For attributes, the output
displays their multiplicity, the textual description, and type information.
>help -t
ManagedElement
|-- SystemFunctions
| |-- AxeFunctions
| | |-- DataOutputHandling
| | | |-- DataTransferM
| | | | |-- BlockTransferManager
| | | | | |-- BlockDestinationSet
| | | | | | |-- AdvancedBlockDestSetInfo
| | | | | | |-- PrimaryBlockDestination
| | | | | | `-- SecondaryBlockDestination
| | | | | `-- BlockTransferQueue
| | | | `-- FileTransferManager
| | | | |-- InitiatingDestinationSet
| | | | | |-- AdvancedInitiatingParameters
| | | | | |-- PrimaryInitiatingDestination
| | | | | `-- SecondaryInitiatingDestination
| | | | |-- FileTransferQueue
| | | | | `-- AdvancedFileTransferQueueInfo
| | | | `-- RespondingDestinationSet
| | | | |-- AdvancedRespondingParameters
| | | | |-- PrimaryRespondingDestination
| | | | `-- SecondaryRespondingDestination
. . .
. . .
. . .
>help -m AuditLoggingM
ManagedElement,SystemFunctions,AxeFunctions,SecurityHandling,AuditLoggingM [1..1]
+-ExclusionItem [0..32767]
The events are stored in folder /audit_logs of the APG file system and the AP command alogfin
The setting of the name of the TQ used by ALOG (transferQueue attribute) fails if the specifi
The setting of the status of the ALOG function (alogAdmState attribute) to LOCKED value (deac
system" is shown.
The setting of the template format of "audit log files" and "protected audit log files" (temp
already configured" is shown.
ATTRIBUTES
alogAdmState Specifies the status of the Audit Log function.
auditLoggingMId Holds the name used when identifiyng the MO.
commandAndSessionAdmState Specifies the status of the "MML command/session identification" lo
largeEventDataSkipped Specifies if events (having size) bigger than 1MByte are truncated.
templateFormat Specifies the filename template format for "audit log files" and "p
transferQueue Specifies the identifier of TQ defined in ALOG function. Only file
transferQueueDn Specifies the DN for the MO representing the TQ used by ALOG functi
The events are stored in folder /audit_logs of the APG file system and the AP command alogfin
The setting of the name of the TQ used by ALOG (transferQueue attribute) fails if the specifi
The setting of the status of the ALOG function (alogAdmState attribute) to LOCKED value (deac
system" is shown.
The setting of the template format of "audit log files" and "protected audit log files" (temp
already configured" is shown.
LITERALS
AUDIT
AUDIT template format.
When such template format is in use:
- the file names generated for "audit log files" have the format:
audit.yyyymmdd-HHMMSS
- the file names generated for "protected audit log files" have the format:
paudit.yyyymmdd-HHMMSS.zip
yyyy
indicates the year in four digits.
mm
indicates the month in two digits.
dd
indicates the day in two digits.
HH
indicates the hour (00-23) in two digits.
MM
indicates the minutes in two digits.
SS
indicates the seconds in two digits.
LOGFILE
LOGFILE template format.
When such template format is in use:
- the file names generated for "audit log files" have the format:
LOGFILE-yyyy-mm-dd-HHMM
- the file names generated for "Protected audit log files" have the format:
PLOGFILE_yyyy_mm_dd_HHMM.zip
yyyy
indicates the year in four digits.
mm
indicates the month in two digits.
dd
indicates the day in two digits.
HH
indicates the hour (00-23) in two digits.
MM
indicates the minutes in two digits.
PARAMETERS
name [0..1]
The name of the backup to create.
If specified, input name validation is done by the implementation to forbid illegal names. Bac
etc.
If not specified, the implementation will generate a backup name automatically with format def
TYPE String
2.3.5 Auto-Completion
Depending on the entered command, the response can be as shown in the table
below:
Table 22 Auto-Completion
Scenario Response
A multiple valid continuation exists All valid continuations of the ECLI
command are printed in Completion
Possibility List with the following
content and listing order:
• ECLI operation name, for example,
show or history.
Auto-completion is provided only for valid ECLI commands the user is authorized
to, in a context-sensitive way, for example, as follows:
The keys shown in the table below activate auto-completion in the listed contexts
if the entered partial name uniquely identifies the name of the command or its
parameter.
(config)>show TAB
show-config
show-dn
show-mib
show-table
<cr>
<space>
Example 20 Completion Possibility List of show without space
(config-CallableThing=1)>add TAB
addNumbers
addNumbers_defValues
addNumbersNameClash
addsoc
Example 21 Completion Possibility List for Actions
config-CallableThing=1)>addNumbers --nTAB
--num1
--num2
Example 22 Completion Possibility List for Action Parameters
(config)>show TAB
--moc
--recursive
--verbose
-m
-r
-v
ManagedElement=<node_name>
<cr>
Example 23 Completion Possibility List of show with space
Action: Press Enter with empty command line in Config mode in Root position
--num1
--num2
<value>
--num2
2.3.5.2.9 Multiple matches for <space>, <cr> & <value> of a parameter with value of an
action with Tab
<value>
<space>
<cr>
2.3.6.1 Example 1
2.3.6.2 Example 2
2.3.6.3 Example 3
"SysM=1
(config-SystemFunctions=1)>SysM=1,NetconfTls=1,nodeCredential="SecM=1 TAB
"SecM=1"
"SecM=1,
(config-SystemFunctions=1)>SysM=1,NetconfTls=1,nodeCredential="SecM=1"
(config-SystemFunctions=1)>Suggested MO references are the ones starting
with the provided characters.
2.3.6.4 Example 4
Entered escape sequences are internally converted into the characters they
represent before being stored. When a string value is printed by the ECLI,
characters are escaped when needed. For example, a quotation character within
a string is printed as \". The exception is DNs, where an escape sequence is only
converted into the character it represents when the character is allowed according
to 3GPP TS 32.300. Otherwise escaping is translated to the \NN format (as
mandated by 32.300).
(config-ManagedElement=<node-name>)>userLabel=hello\nworld
(config-ManagedElement=<node-name>)>show userLabel
userLabel="hello\nworld"
(config-ManagedElement=<<node-name>)>
Example 24 Set String Attribute with Special Character
(config-aSimpleStruct)>str1=hello\!world
(config-aSimpleStruct)>show str1
str1="hello!world"
(config-aSimpleStruct)>
Example 25 Set struct Member with Special Character
or • --verbose or -v – Displays
attributes that are not set and
show [RDN] --moc attribute set to their default values.
| -m <moc-name>
[--property | -p • RDN – The RDN to the MO instance
<attribute_name> relative to the ECLI position. The
[,<attribut current position is used if no DN is
e_name>]*] specified.
[--condition |
-c <condition>]
• index – Specifies a sequence
element in a sequence attribute.
The index starts from 1.
• --moc|-m – Specify the MO name
whose instances have to be filtered.
• -c or --condition –can be used
to define criteria for the MO to
navigate to. This can be used if
there are more than one instances
of the selected MO class. See
Section 2.3.8.1 on page 81 for
details.
• Without options, only those
attributes are displayed that have
a value assigned and not a default
value.
show-config Yes Yes Displays the output in configuration GENERAL
[--verbose | -v] format. Configuration also
[<RDN>] automatically enables the all
parameter.
Note: In case of wrong usage some commands return the error message ERROR:
Command not found.
There can be a maximum of two conditions that can be specified for this option.
The type of attributes that can be used as part of the condition are: integer, string,
boolean and enum. If the attribute used in the condition is of the type string, then
the value specified for that attribute must be quoted, otherwise an error message
saying Condition String not quoted is shown.
The syntax for condition is [Condition]=[<attribute><operator><value>].
The valid operators are:
— =or = for left hand side is equal to the right hand side.
— >= for left hand side is greater than or equal to the right hand side.
— <= for left hand side is less than or equal to the right hand side
— <> for left hand side is greater or less than (not equal) the right hand side.
— < for left hand side is smaller than the right hand side.
— > for left hand side is greater than the right hand side.
3 Configuration
Glossary
CLI
Command-Line Interface
DN
Distinguished Name
ECLI
Ericsson Command-Line Interface
ME
Managed Element
MO
Managed Object
MOC
Managed Object Class
MOM
Managed Object Model
OaM
Operation and Maintenance
RDN
Relative Distinguished Name
Reference List