NetBIOS, NetBEUI, NBF, NBT, NBIPX, SMB, CIFS Networking: NetBIOS to CIFS | ||
---|---|---|
<<< Previous | NetBIOS, NetBEUI, NetBIOS Frames Protocol | Next >>> |
The NetBIOS Diagnostic and Monitoring Protocol (DMP) provides the facilities to obtain status information about local and remote nodes on the network. This protocol is broadly comparable with the basic functionality provided by the Simple Network Monitoring Protocol (SNMP) within the TCP/IP suite of protocols.
The NetBIOS Diagnostic and Monitoring Protocol (DMP) provides the facilities to obtain information including:
Number of "Frame Reject" (FRMR) frames received.
Number of "Frame Reject" (FRMR) frames transmitted.
Number of I-format "Logical link control Protocol Data Units" (LPDUs) received in error.
Number of aborted transmissions.
Etc.
It is worth noting that this facility is part of the protocol and not an advantage of a given Operating System that happens to be using the protocol.
The "STATUS QUERY" frame (0x03) is used to request remote adapter status information.
The frame begins with a two byte length field with a value of 0x002C followed by the two byte frame deliminator field 0xEFFF; these fields are transmitted byte reversed. These fields are followed by the one octet command frame which has a value of 0x03 identifying it as an "STATUS QUERY" frame.
The "DATA1" octet is used to indicate the status of the request, 0x0 indicates a 1.x or 2.0 type request, 0x01 indicates a NetBIOS 2.1 request and values greater than 1 indicate a NetBIOS 2.1 request. The two bytes of the "DATA2" field are used to indicate the length of the user's status buffer. The "DATA2" field is transmitted byte reversed. Two reserved octets are followed by a two octet response correlator, transmitted byte reversed. Sixteen octets identifying the name of the receiver are followed by a further sixteen octets indicating the sending node's NAME NUMBER 1.
The "STATUS RESPONSE" frame (0x0F) is used in response to request a status request frame.
The frame begins with a two byte length field with a value of 0x002C followed by the two byte frame deliminator field 0xEFFF; these fields are transmitted byte reversed. These fields are followed by the one octet command frame which has a value of 0x0F identifying it as an "STATUS RESPONSE" frame.
The "DATA1" octet is used to indicate the status of the response, 0x0 indicates a 1.x or 2.0 type response, and values greater than 0x0 indicate a NetBIOS 2.1 response. The two octets of the "DATA2" field are regarded as a 16 bit string; the first bit x is set to 1 if the length of the status data exceeds the frame size; the second bit y is set to 1 if the length exceeds the size of the user's buffer; the remaining 14 bits indicate the length of the status data sent. The "DATA2" field is transmitted byte reversed. A two octet transmit correlator, transmitted byte reversed, is followed by two reserved octets. Sixteen octets indicate the receiving node's NAME NUMBER 1 and are followed by a further sixteen octets indicating the sending node's name.
The "TERMINATE TRACE" frame (0x07) is used to end a trace at a remote node.
The frame begins with a two byte length field with a value of 0x002C followed by the two byte frame deliminator field 0xEFFF; these fields are transmitted byte reversed. These fields are followed by the one octet command frame which has a value of 0x07 identifying it as an "TERMINATE TRACE" frame.
All the remaining 39 octets are reserved.
The "TERMINATE TRACE" frame (0x13) is used to end a local trace and a trace at a remote node.
The frame begins with a two byte length field with a value of 0x002C followed by the two byte frame deliminator field 0xEFFF; these fields are transmitted byte reversed. These fields are followed by the one octet command frame which has a value of 0x13 identifying it as an "TERMINATE TRACE" frame.
All the remaining 39 octets are reserved.
Table 6. Diagnostic and Monitoring frames (Octets in order transmitted.)
Special frame | Special frame | Special frame | Special frame | ||
---|---|---|---|---|---|
Field Name | Length | STATUS QUERY | STATUS RESPONSE | TERMINATE TRACE | Terminate local & remote trace |
Length | 2 | 0x2C | 0x2C | 0x2C | 0x2C |
0x00 | 0x00 | 0x00 | 0x00 | ||
Deliminator | 2 | 0xFF | 0xFF | 0xFF | 0xFF |
0xEF | 0xEF | 0xEF | 0xEF | ||
Command | 1 | 0x03 | 0x0F | 0x07 | 0x13 |
Data 1 | 1 | nn | nn | Reserved | Reserved |
Data 2 | 2 | Length of status buf | bbbbbbbb | Reserved | Reserved |
Length of status buf | xybbbbbb | Reserved | Reserved | ||
XMIT Cor | 2 | Reserved | nnnn | Reserved | Reserved |
Reserved | nnnn | Reserved | Reserved | ||
RSP Cor | 2 | nnnn | Reserved | Reserved | Reserved |
nnnn | Reserved | Reserved | Reserved | ||
Destination Name | 16 | Name of receiver | Receiver's NAME NUMBER 1 | Reserved | Reserved |
Source Name | 16 | Sending node NAME NUMBER 1 | Name of sender | Reserved | Reserved |
<<< Previous | Home | Next >>> |
User Datagram Protocol | Up | NetBIOS Session Management Protocol |