Mapping onto COTS
Mapping the SNMP onto the COTS is more difficult as the SNMP does not specifically require an existing connection. Thus, the mapping
consists of establishing a transport connection, sending one or more SNMP messages on that connection, and then releasing the transport connection.
Consistent with the SNMP model, the initiator of a connection should not require that responses to a request be returned on that connection. However, if a responder to a connection sends SNMP messages on a connection, then these MUST be in response to requests received on that connection.
Ideally, the transport connection SHOULD be released by the initiator, however, note that the responder may release the connection due to resource limitations. Further note, that the amount of time a connection remains established is implementation- specific. Implementors should take care to choose an appropriate dynamic algorithm.
Also consistent with the SNMP model, the initiator should not associate any reliability characteristics with the use of a connection. Issues such as retransmission of SNMP messages, etc., always remain with the SNMP application, not with the transport service.
4.1. Addressing Conventions
Unlike the Internet suite of protocols, OSI does not use well-known ports. Rather demultiplexing occurs on the basis of "selectors", which are opaque strings of octets, which have meaning only at the destination. In order to foster interoperable implementations of the SNMP over the COTS, it is necessary define a selector for this purpose. However, to be consistent with the various connectivity- services, different conventions, based on the actual underlying service, will be used.
4.1.1. Conventions for TP4/CLNP-based service
When a COTS based on the TP4/CLNP is used to provide the transport backing for the SNMP, demultiplexing will occur on the basis of transport selector. The transport selector used shall be the four ASCII characters
snmp
Thus, using the string encoding of [7], such addresses may be textual, described as:
"snmp"/NS+<nsap>
where:
(1)
"snmp"/NS+4900590800200038bafe00
Similarly, SNMP traps are, by convention, sent to a manager listening on the transport selector
snmp-trap
which consists of nine ASCII characters.
4.1.2. Conventions for TP0/X.25-based service
When a COTS based on the TP0/X.25 is used to provide the transport backing for the SNMP, demultiplexing will occur on the basis of X.25 protocol-ID. The protocol-ID used shall be the four octets
03018200
Thus, using the string encoding of [7], such addresses may be textual described as:
Int-X25=<dte>+PID+03018200
where:
(1)
Int-X25=23421920030013+PID+03018200
Similarly, SNMP traps are, by convention, sent to a manager listening on the protocol-ID
03019000