TNMS SNMP NBI - Operation Guide
TNMS SNMP NBI - Operation Guide
TNMS SNMP NBI - Operation Guide
V16.01
Coriant TNMS
SNMP NBI Operation Guide (SNOG)
The information in this document is subject to change without notice and describes only the product
defined in the introduction of this documentation. This documentation is intended for the use of
Coriant customers only for the purposes of the agreement under which the document is submitted,
and no part of it may be used, reproduced, modified or transmitted in any form or means without the
prior written permission of Coriant. The documentation has been prepared to be used by professional
and properly trained personnel, and the customer assumes full responsibility when using it. Coriant
welcomes customer comments as part of the process of continuous development and improvement of
the documentation.
The information or statements given in this documentation concerning the suitability, capacity, or
performance of the mentioned hardware or software products are given "as is" and all liability arising
in connection with such hardware or software products shall be defined conclusively and finally in a
separate agreement between Coriant and the customer. However, Coriant has made all reasonable
efforts to ensure that the instructions contained in the document are adequate and free of material
errors and omissions. Coriant will, if deemed necessary by Coriant, explain issues which may not be
covered by the document. Coriant will correct errors in this documentation as soon as possible.
IN NO EVENT WILL CORIANT BE LIABLE FOR ERRORS IN THIS DOCUMENTATION OR FOR
ANY DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, DIRECT, INDIRECT, INCIDENTAL
OR CONSEQUENTIAL OR ANY LOSSES, SUCH AS BUT NOT LIMITED TO LOSS OF PROFIT,
REVENUE, BUSINESS INTERRUPTION, BUSINESS OPPORTUNITY OR DATA,THAT MAY ARISE
FROM THE USE OF THIS DOCUMENT OR THE INFORMATION IN IT.
This documentation and the product it describes are considered protected by copyrights and other
intellectual property rights according to the applicable laws. Other product names mentioned in this
document may be trademarks of their respective owners, and they are mentioned for identification
purposes only.
Copyright © Coriant 2016. All rights reserved.
Table of Contents
This document has 116 pages.
1 Preface ........................................................................................................... 9
1.1 Intended audience .................................................................................... 9
1.2 Structure of this document........................................................................ 9
2 Introduction ................................................................................................. 11
2.1 General description ................................................................................ 11
2.2 SNMP protocol support .......................................................................... 12
2.3 Terminology ........................................................................................... 12
2.4 Differences to TNMS Core SNMP Proxy ................................................ 13
2.4.1 General changes ............................................................................. 13
2.4.2 Tables and fields ............................................................................. 14
2.4.3 Notification behaviors ...................................................................... 14
2.4.4 Protocol support changes ................................................................ 15
2.5 Installation and licensing ........................................................................ 15
2.6 MIB file location ...................................................................................... 15
Summary of changes
1 Preface
2 Introduction
The SNMP NBI provides the following functionality to the SNMP managers:
Network discovery and synchronization
- Lists of NEs, Modules, Ports, Termination Points (TPs) and Port
Connections (PCs)
- Notifications for network object creation (OC) and deletion
(OD), attribute value changes (AVC) and state changes (SC).
Fault management
- Lists of alarms, with filtering by type of affected object
The SNMP NBI MIB is based on TNMS Core’s SNMP Proxy MIB, and
therefore inherits its exported data models and notification behaviors.
However, some tables and fields are not yet supported. See section 2.4 for the
main differences.
SNMP NBI also provides preliminary MEF MIB support for the retrieval of
Ethernet Paths (MEF 40).
2.3 Terminology
The term “SNMP manager”, or simply “manager”, is used to refer any external
system or application that accesses TNMS via the SNMP protocol.
The term “SNMP agent” refers to the SNMP NBI component itself.
The term “EMS” refers to the TNMS system itself.
Module Equipment
The MIB objects below are present in the SNMP NBI MIB file, but will only be
supported in the future.
Notification behaviors for Object Deletion events (OD) have been made
consistent among all network object types. Avoiding redundant OD traps helps
minimizing network and processing spikes in case of network changes.
TNMS Core SNMP Proxy TNMS SNMP NBI
When a NE is removed, an OD trap is sent for When a NE, module or port is removed, an OD trap
that NE only – no OD traps are sent for the child is sent for that object only – no OD traps are sent
objects. for its children. The manager may implicitly assume
that the child objects have been removed also.
When a module or port is removed, OD traps for
its children are also sent. Note: OD notifications for child objects are still sent
if the removed parent object belongs to a UNO
network element.
As for the SNMP protocol support, the differences to TNMS Core’s SNMP
Proxy are:
The listening port is now configurable, to allow SNMP NBI to coexist
with other SNMP services on the server.
SNMP v1 is no longer supported, only v2c and v3.
Timeout and maximum tries of INFORM notifications are configurable.
<TNMS Home>\Docs\SNMP-NBI\TNMS-NBI-MIB.my
4. In Proxy name and Network name, enter informative names for this
SNMP NBI instance and for the network.
5. In Trap history length, specify the number of records to be kept in the
trap history table. The default is 256. Allowed values are between 2 and
10000. (See also 4.4 - Resynchronization after network or manager
errors.)
6. The MIB version is read-only and shows the version of the SNMP NBI
MIB. It matches the LAST-UPDATE clause in the MIB definition file, and
therefore can be used to check if an SNMP manager is using the correct
file.
7. Check Enable heartbeat traps if heartbeat traps are to be sent to the
listening SNMP managers.
In Interval, specify the number of seconds between heartbeats.
Default is 60 seconds. Allowed values are between 5 and 86400
seconds (equivalent to 24 hours).
8. In the Inform group, configure how SNMP INFORM notifications are
managed:
In Timeout, specify the maximum number of seconds that SNMP
NBI will wait for a response before resending an Inform. Default is
3 seconds. Allowed values are between 1 and 60 seconds.
In Maximum tries, specify the maximum number of times that
SNMP NBI will try to send an Inform notification to each
destination. Default is 3 tries. Allowed values are between 1 and 5
tries.
The Proxy name, Network name, Trap history length and MIB version
values above are readable via SNMP under the enmsControl MIB branch (see
section 8.1).
The Heartbeat and Inform configuration parameters are also modifiable via
SNMP under the enmsControl MIB branch (see section 8.1).
In the SNMP NBI User Management window (Figure 4) you may add, edit or
remove SNMP users. Next sections explain how to configure a user.
In the Identification tab (Figure 5) you specify the basic user details.
In the Accesses tab (Figure 6) you configure the user permissions for
incoming SNMP requests.
1. Select the level of permission granted to the user for accessing the SNMP
NBI MIB:
No permission – The user has no access permission.
Read – The user has read-only access.
Read/Write – The user has read and write access.
2. Specify the IP addresses from which requests from this user are accepted.
Both IPv4 and IPv6 addresses are allowed. Examples:
10.55.140.25
4f::58a3:45fe:38
Address format restrictions:
- Host names are not supported, only IP addresses.
In the Traps tab (Figure 7) you configure the SNMP TRAP destinations for the
SNMP user.
In the Informs tab (Figure 8) you configure the SNMP INFORM destinations
for the SNMP user.
In relation to fault management, all active alarms in the system are exported
via the table enmsAlarmTable. Other tables act as views of that master table,
showing only the alarms affecting a specific type of object (Figure 11).
coriant.svsProductMibs.svsProxEmns
enmsNetworkSetup
enmsNETable (5.1.1)
enmsModuleTable (5.1.2)
enmsPortTable (5.1.3)
enmsTPTable (5.1.4)
enmsPortConnTable (5.1.5)
enmsSNCTable (6.1.1)
enmsCCTable (0)
enmsEthernetPathTable (6.1.2)
enmsService
enmsServiceTable (6.1.3)
enmsAlarmTables
enmsAlarmTable (7.1.1)
enmsAlarmsForNETable (7.1.2)
enmsAlarmsForPortTable (7.1.3)
enmsAlarmsForTPTable (7.1.4)
enmsAlarmsForPortConnTable (7.1.5)
enmsAlarmsForSNCTable (7.1.7)
enmsAlarmsForModuleTable (7.1.6)
enmsProxy
enmsControl (8.1)
enmsTrapGroup
enmsTrapHistory
enmsTrapHistoryTable (8.4)
enmsTrapVariable
enmsTraps (5.2, 6.2, 7.2, 8.2, 10.5, 11.5)
enmsTrapFilter (8.3)
enmsPerformanceMonitoring
enmsPerfMonRequestTable (10.2.1)
enmsPerfMonResultPmpTable (10.7.2)
enmsPerfMonResultValueTable (10.7.3)
enmsOpticalPowerMonitoring
enmsOptPowerMonRequestTable (11.2.1)
enmsOptPowerMonResultValueTable (11.7.2)
The following table shows what notifications are supported for each type of
modelled object:
CC None
In addition to the notifications for the modelled objects, there are also
notifications associated to the SNMP agent and the EMS themselves:
PM request SC
OPM request SC
The suggested approach to retrieve all rows in the table consists of performing
successive GETNEXT operations, and in each operation request all fields of
the same row. In this case the SNMP manager starts by requesting the first
row of values:
The GETNEXT operations above are requesting the index field (enmsNeId)
just for the sake of clarity. In a real implementation, the SNMP manager may
infer the index values from the OIDs of other fields in the same row.
To retrieve a row by index, use the GET operation and request several column
values at once:
GET(enmsNeType.9, …, enmsNeIdName.9)
GETRESPONSE(enmsNeType.9 = “ABC”, …, enmsNeIdName.9 = “NE9”)
Suppose the SNMP manager needs to retrieve all modules of a given NE, let’s
say the NE 9.
2 1 CARDX … 1234
2 2 CARDY 321
5 1 CARDZ 545
9 4 CARDX … 1234
9 5 CARDY … 321
9 6 CARDZ 545
15 3 CARDX … 1234
Table 9 Example data for enmsModuleTable
Each SNMP response must fit in a single UDP packet, whose maximum size
may be insufficient to carry all requested values (the response will have an
error status set to “Too big.”). To avoid such situations you may need to split
the GETNEXT / GETBULK / GET requests into two or more operations.
NEClass (Future)
Class of an NE.
- singleNode(1)
- repeaterNode(2)
- managementNode(3)
- masterRingNode(4)
- slaveRingNode(5)
PTServiceType Service type of a port. The value is an integer whose bits are
mapped as follows:
- bit 0 (value 1) – Obsolete
- bit 1 (value 2) – The port supports bundle SNCs
- bit 2 (value 4) – The port may not be connected to other
ports
- bit 3 (value 8) – The port does not support unidirectional
SNCs
- bit 4 (value 16) – The port does not support flexible SNCs
- alarm(5)
- relationshipChange(6)
LayerSet Character string with one or more transport layers (e.g. VC4,
OTU1) separated by commas.
- nearEnd(1)
- farEnd(2)
This table contains all NEs in the network. It supports OC, OD, AVC and SC
notifications.
This table contains all modules in the network. It supports OC, OD and SC
notifications.
This table contains all ports in the network. It supports OC, OD, AVC and SC
notifications.
This table contains all termination points in the network. It supports OC, OD,
AVC and SC notifications.
This table contains all managed ports connections. It supports OC, OD and
AVC notifications.
This table contains all paths of the Optical Manager. It supports OC, OD, AVC
and SC notifications.
enmsScSrcTPIdH TPId
enmsScSrcTPIdL TPId
enmsScDestTPIdH TPId
enmsScDestTPIdL TPId
enmsScSrc2TPIdH TPId
enmsScSrc2TPIdL TPId
enmsScDest2TPIdH TPId
enmsScDest2TPIdL TPId
This table contains all the services of the Ethernet Manager. It supports OC,
OD, and SC notifications.
This table contains all services defined in TNMS (containers of type ‘Service’).
- ‘unknown’
This table contains all cross connections in the network. It does not support
any type of notifications.
enmsCcSrcPortId PortId
enmsCcSrcTPIdH TPId
enmsCcSrcTPIdL TPId
enmsCcDestPortId PortId
enmsCcDestTPIdH TPId
enmsCcDestTPIdL TPId
enmsCcSrc2TPIdH TPId
enmsCcSrc2TPIdL TPId
enmsCcDest2TPIdH TPId
enmsCcDest2TPIdL TPId
This table contains all active alarms in TNMS. Its single index value
(enmsAlAlarmNumber) is not an identifier of the alarm: it corresponds to the
position of the alarm in the list and therefore may change between table
retrievals. Because of that, this table is not meant to be accessed randomly,
via GET operations. Instead, it should be retrieved row by row from top to
bottom, using GETNEXT / GETBULK operations.
The following combination of fields may be used to identify an alarm and relate
it to other tables and traps:
enmsAlProbableCause +
enmsAlTimeStamp +
enmsAlEntityString +
enmsAlNEId +
enmsAlPortId +
enmsAlTPIdH +
enmsAlTPIdL
System alarms (i.e. raised by the EMS itself) can be distinguished by having
the NE Id (enmsAlNEId) set to zero.
This table contains all alarms originating in a port or a TP contained in it. Its
indexes allow retrieving the alarms for a selected port.
This table contains all alarms originating in a TP. Its indexes allow retrieving
the alarms for a selected TP.
This table contains all alarms affecting a port connection, which include all
alarms originating in the endpoint ports or in the associated modules. Its
indexes allow retrieving the alarms for a selected port connection.
This table contains all alarms originating in a module. Its indexes allow
retrieving the alarms for a selected module.
This table contains all alarms affecting SNCs. Its indexes allow retrieving the
alarms for a selected SNC.
9.1 MEF-UNI-EVC-MIB
TNMS SNMP NBI provides preliminary support for the MEF MIB for the
management of User Network Interfaces (UNIs) and Ethernet Virtual
Connections (EVCs). Currently only basic Ethernet Path retrieval is supported.
Specification of notifications in MEF 40 is not final and as such not
implemented by SNMP NBI. To monitor changes to Ethernet Paths, use the
SNMP NBI MIB notifications instead (see section 6.2).
For more information on the MEF MIB, please refer to the MEF 40 Technical
Specification available on the MEF web site (www.mef.net).
9.1.1 mefServiceEvcCfgTable
The ‘mefServiceEvcCfgTable’ table lists all the Ethernet Paths. This table
implementation is read-only, therefore adding rows is not supported.
mefServiceEvcCfgIdentifier DisplayString
mefServiceEvcCfgServiceType INTEGER
mefServiceEvcCfgMtuSize Unsigned32
mefServiceEvcCfgCevlanIdPreservation MefServicePreservationType
mefServiceEvcCfgCevlanCosPreservation MefServicePreservationType
mefServiceEvcCfgAdminState EntityAdminState
9.1.2 mefServiceEvcStatusTable
mefServiceEvcCfgIndex Unsigned32
mefServiceEvcStatusMaxMtuSize Unsigned32
mefServiceEvcStatusOperationalState INTEGER
10 Performance Monitoring
10.1 Introduction
SNMP NBI allows the managers to retrieve Performance Monitoring (PM) data
associated to the network objects managed by TNMS. Both history and
current PM data are supported, for 24h and 15m granularities.
Retrieving history PM data via SNMP NBI requires PM data upload to be
enabled in TNMS Server. Please refer to TNMS documentation for information
on how to enable PM data upload.
Given its nature and potentially large volume, PM data is not readily available
in an MIB table, as happens for other kinds of data such as alarms. To retrieve
PM data, the SNMP manager needs first to create a request by inserting a row
in the PM request table. Each request specifies what type of data to retrieve
(history or current, granularity, start and end times) and for which network
objects. The request is then executed, after which the resulting PM data may
be retrieved.
The following diagrams exemplify the high level interaction between a
manager wanting to retrieve PM data and SNMP NBI. In the first case, the
manager creates a request and waits for SNMP NBI to notify it when the PM
data is ready:
Alternatively, the manager may poll the state of the request instead of waiting
for a notification:
10.2 PM requests
PM requests are entries of the MIB table enmsPerfMonRequestTable, whose
attributes are described in the section below.
Each PM request specifies what type of data to retrieve (history or current,
granularity, start and end times) and for which network objects.
10.2.1 enmsPerfMonRequestTable
TP (enmsTPTable):
173|455|3453|99589454
Port (enmsPortTable):
32|6734
NE (enmsNETable) - history only
85
SNC (enmsSNCTable):
8374
Creation default is 0.
11 Inner NEs active finished 2016-03-20 Execution finished. pmCurrent minutes15 NE 1234
14:01:12
19 Middle active started 2016-03-20 Execution started. pmHstory 2016-03-01 2016-03-15 hours24 SNC 320
node 14:01:12 00:00:00 00:00:00
As explained above, newly created requests are in the state created, meaning
that the request exists but is not in execution. Next sections in this chapter
describe the possible PM request states and how those states change.
created Request is idle. This is the initial state of a newly - Execute the request
created request. - Update the request
cancelled Request has been cancelled and is idle. - Update the request
- Re-execute the request
The manager can also update the PM request attributes (see 10.6.2) and
execute it in a single SET command:
If the request is executed successfully, the state will change to finished. The
manager may now retrieve the PM data (see section 10.7). If the request
execution fails, the state will change to failed. The enmsPmRequestInfo field
will normally give a hint on what caused the failure. Typical failure reasons
include:
Network objects for which to obtain PM data do not exist;
A timeout occurred while collecting data from the NEs;
In case the manager tries to assign an invalid value to some attribute, the SET
command fails with the error code inconsistentValue.
Updating a PM request causes it to go to state created, and any associated
PM data to be discarded.
It is also possible to update the PM request attributes and execute it at the
same time in a single SET command – see 10.6.1.
Updating a PM request is only possible if the request is in an idle state (either
created, finished, failed or cancelled).
Updating a PM request in state finished causes associated PM data to be
discarded.
The table below describes the most common errors returned by SNMP NBI
while performing SNMP SET operations over existing PM requests.
PM data is available for the following approximate times after the PM request
finishes:
Results older than the intervals above are periodically discarded and the
corresponding requests are moved to the created state.
History data is only available as long as it exists in TNMS Server, which has
its own retention period.
10.7.2 enmsPerfMonResultPmpTable
10.7.3 enmsPerfMonResultValueTable
This table contains the measured values for the PM Points of all finished PM
request results.
11.1 Introduction
SNMP NBI allows the managers to retrieve Optical Power Monitoring (OPM)
data associated to the network objects managed by TNMS.
Given its nature, OPM data is not readily available in an MIB table, as
happens for other kinds of data such as alarms. To retrieve OPM data, the
SNMP manager needs first to create a request by inserting a row in the OPM
request table. The request is then executed, after which the resulting OPM
data may be retrieved.
The following diagrams exemplify the high level interaction between a
manager wanting to retrieve OPM data and SNMP NBI. In the first case, the
manager creates a request and waits for SNMP NBI to notify it when the OPM
data is ready:
Alternatively, the manager may poll the state of the request instead of waiting
for a notification:
11.2.1 enmsOptPowerMonRequestTable
TP (enmsTPTable):
173|455|3453|99589454
Port (enmsPortTable):
32|6734
SNC (enmsSNCTable):
8374
Creation default is 0.
As described above, newly created requests are in the state created, meaning
that the request exists but is not in execution. The next sections describe the
possible OPM request states and how those states change.
created Request is idle. This is the initial state of a newly - Execute the request
created request. - Update the request
cancelled Request has been cancelled and is idle. - Update the request
- Re-execute the request
The manager can also update the OPM request attributes (see 11.6.2) and
execute it in a single SET command:
If the request is executed successfully, the state will change to finished. The
manager may now retrieve the OPM data (see section 11.7). If the request
execution fails, the state will change to failed. The enmsOpmRequestInfo field
will normally give a hint on what caused the failure. Typical failure reasons
include:
Network objects for which to obtain OPM data do not exist;
A timeout occurred while collecting data from the NEs;
In case the manager tries to assign an invalid value to some attribute, the SET
command fails with the error code inconsistentValue.
Updating an OPM request causes it to go to state created, and any associated
OPM data to be discarded.
It is also possible to update the OPM request attributes and execute it at the
same time in a single SET command – see 11.6.1.
Updating an OPM request is only possible if the request is in an idle state
(either created, finished, failed or cancelled).
Updating an OPM request in state finished causes associated OPM data to be
discarded.
The table below describes the most common errors returned by SNMP NBI
while performing SNMP SET operations over existing OPM requests.
OPM result data is available for 1 hour after the OPM request finishes. Results
older than this interval are periodically discarded and the corresponding
requests are moved to the created state.
11.7.2 enmsOptPowerMonResultTable
This table contains the OPM Points of all finished OPM request results.
12 Troubleshooting
The table below proposes solutions for the most common issues when operating with SNMP
NBI. Also check TNMS System Event Log for messages related to SNMP NBI events.
The SNMP NBI menu entries in SNMP NBI not installed in the server Reinstall TNMS and select the
TNMS Client are missing or SNMP northbound interface (see
greyed out. 2.5).
SNMP NBI license not installed Install SNMP NBI license (see 2.5).
The “Enable SNMP northbound An SNMP NBI license has been Restart TNMS server (see 2.5).
interface” checkbox (SNMP NBI installed, but the server has not
system settings) is greyed out. been restarted yet.
No response from SNMP NBI or SNMP NBI not installed or not Install SNMP NBI or its license (see
timeout error. licensed. 2.5).
Incorrect SNMP agent address Make sure that the SNMP agent
configured on the SNMP manager. address configured on the SNMP
manager corresponds to the TNMS
server machine.
Incorrect SNMP agent port Make sure that the SNMP agent port
configured on the SNMP manager. configured on the SNMP manager
matches the SNMP NBI listening
port (see 3.1).
SNMP NBI could not bind to the Make sure that the configured
listening port. listening port is not being used by
any other service or application on
the TNMS server machine (see 3.1).
You may use a utility such as
‘netstat’ to list the ports on which the
server computer is listening.
SNMP error “No such name” The requested object doesn’t exist in Check if the requested OID is valid
received. the MIB. Usually occurs with GET and belongs to the SNMP NBI MIB.
requests.
Verify if the SNMP manager is trying
to get a nonexistent table value (i.e.
the table is valid, but doesn’t contain
any value for the index specified in
the OID).
SNMP error “Authentication Incorrect user data or SNMP Make sure the SNMP manager is
error” received. protocol version configured on the using the correct user authentication
SNMP manager. details, as configured in the SNMP
NBI user configuration (see 3.3.1).
This frequently occurs with SNMPv3,
so confirm the user name, the
authentication and privacy protocols,
and the corresponding passwords.
SNMP error “Too big” received. The response to the request does Split the failing GET / GETNEXT /
not fit in a single SNMP packet (see GETNEXT operations into two or
4.5.4). Typically occurs when the more requests.
SNMP manager requests too many
OIDs in the same operation, or the Use a lower max-repetitions value
max-repetitions value for a for GETBULK requests.
GETBULK operation is too high.
No traps/informs received from SNMP manager address not added Add the SNMP manager address to
SNMP NBI. to the trap destination list. the trap/inform destination list of the
appropriate SNMP NBI user (see
3.3.3).
Incorrect trap destination port. Make sure the destination port of the
traps/informs matches the port on
which the SNMP manager is waiting
for traps (see 3.3.3).
The SNMP manager is not listening Make sure the SNMP manager is
to the trap receiving port. really listening for traps/informs on
the configured port.
SET operation returns an error. SNMP user doesn’t have write Change permission of the SNMP to
permission. ‘Read/Write’ (see 3.3.2).
The target MIB object is not writable. Check the object the SNMP
manager is trying to set.
The type of the value in the SET Use the correct data type.
request is not compatible with the
MIB object.
Abbreviations
AC Attribute Change
ACS Actual Creation State
AES Advanced Encryption Standard
AVC Attribute Value Change
DB Database
DES Data Encryption Standard
3DES Triple DES
EMS Element Management System
EVC Ethernet Virtual Connection
GUI Graphical User Interface
HW Hardware
IANA Internet Assigned Numbers Authority
ITU International Telecommunication Union
MD5 Message Digest 5
NBI Northbound Interface
NE Network Element
NMS Network Management System
OC Object Creation
OD Object Deletion
OPM Optical Power Monitoring
PEN Private Enterprise Number
PDU Protocol Data Unit
PM Performance Monitoring
RCS Required Creation State
RFC Request for Comments
SC State Change
SHA Secure Hash Algorithm
SEL System Event Log
SNMP Simple Network Management Protocol
SW Software
TCP Transmission Control Protocol