Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 16 of 40

700 Series Color Mobile Computer User's Manual: Section 4 - Network Support, pages 124 to 129

Pages 124 to 129 of 346, from 700 Series Color Mobile Computer User's Manual

The original document is the PDF (2.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Intermec Model 720, Intermec Model 740, Intermec Model 741, Intermec Model 751, Intermec Model 760, Intermec Model 710, Intermec Model 730 and Intermec Model 761

Page 124

Network Support

SECTION 4

SNMP Configuration Simple Network Management Protocol (SNMP) was developed in the late 1980s to provide a general-purpose internetworking management protocol. Its primary goal was to be simple so nothing would stand in the way of its ubiquitous deployment. To this end, it has been very successful as it is currently deployed in almost every major internetworking product on the market. However, like many achieved goals, the primary strength can also become a weakness.

The Focus was “Simple” An extreme example of simplicity versus power can be realized by comparing SNMP against the Common Management Information Protocol (CMIP), the ISO entry to the standard management protocol world. CMIP has a very rich set of primitives and a core set of data elements. However, to implement CMIP, a subset of the protocol must be selected. Then, to achieve interoperability, this subset must be agreed upon with other implementors. As SNMP was specified completely and with no options, one implemented what was there and interoperability was assured. Returning to simplicity, SNMP was built simply for a number of reasons other than time to market: robustness in the face of network failure, low overhead in the devices running the protocol; and ease of debugging the protocol itself (the last thing you want to debug is the management protocol that is supposed to be helping you debug your network). Thus, the SNMP limited itself to the User Datagram Protocol (UDP). This gave the implementor the ability and responsibility to manage lost packets and perform any necessary retransmissions. As network debugging in the face of changing routes will certainly mean losing packets, retaining this control from the transport service (layer 4) was considered essential. Since a network management protocol will run continuously, it is mandatory that it consume as minimal a network resource as possible. UDP allows the necessary control over packet transmissions, packet size and content (packetization). It is a natural choice.

Using SNMP SNMP has three control primitives that initiate data flow from the requester (get, get-next, and set). There are two control primitives the responder uses to reply. One is used in response to the requester’s direct query (get-response) and the other is an asynchronous response to obtain the requester’s attention (trap). All five of these primitives are carried by UDP and are thus limited in size by the amount of data that can fit into a single UDP packet. The relatively small message size was a goal of the design but for some reasonable set of network management functions, it imposes a limitation. Often in network management, it is necessary to obtain bulk information without knowing at first what is in that bulk. In one case, there is a set of problems having to do with packets not going where they are supposed to, due to device misconfiguration that prevents proper protocol operation where one needs to view the entire set of data.

700 Series Color Mobile Computer User’s Manual

4-37

Page 125

Network Support

SECTION 4

Retrieval of Management Information SNMP has the get-next primitive which permits the viewing of data without requiring prior knowledge. If you know what you are looking for, the get primitive will return it. When you want an entire table of information, the get-next primitive will obtain it. However, unless employed with care, the get-next primitive can be extremely resource-intensive in real time, network bandwidth, and the agent’s CPU time. The simplest use of the get-next primitive is to start at the beginning of a table, await the response and then issue another get-next with the name returned. As an example, say you wanted the next-hop address, next-hop interface, and route-type from a routing table containing 1000 entries. Using the simplest form of get-next, this would require 2x3x1000 or 6000 packets (get-next and get-response packets, columns, and rows). A straight-forward optimization would be to request the three columns in a single packet. This puts the number of packets at 2x1000 or 2000 packets. In real time, it is the product of the round trip by the number of request. In agent CPU time, this is still 6000 lookups in the routing table for both cases.

An Early Approach to Getting More than One Item at a Time The ability to retrieve only one piece or object at a time has been a problem for SNMP. This is particularly an issue with the use of this protocol in wireless environments where the wireless datapipe is small and overhead due to network management it is considered overhead. One approach creates multiple get-next requests running concurrently. A second algorithm, reduces the packet count by combining the multiple concurrent get-nexts into a single packet. Neither approach has been implemented which makes network management in wireless environment, though essential to the success of the operation, tenuous. The issue has been resolved in SNMP V2 protocol where a get-bulk primitive has been defined.

Conclusion Software development moves forward by evolving the unknown into the known and wireless environments are moving from vertical only application to wide spread implementation. At the time of the SNMP inception, it was not possible to conceive of a reliable transport based network management protocol. Today’s problems require more sophisticated data to analyze a problem. This puts the burden back on the protocol to send and receive data quickly and efficiently. Work continues in subcommittees to improve SNMP and resolve the issues that are developing with new applications and new network architectures.

SNMP Configuration on the 700 Series Computer In short, SNMP is an application-layer protocol that facilitates the exchange of management information between network devices. The 700 Series Computer is such an SNMP-enabled device. Use SNMP to control and configure the 700 Series Computer anywhere on an SNMP-enabled network. The 700 Series Computer supports four proprietary Management Information Bases (MIBs) and Intermec Technologies provides SNMP support for MIB-II through seven read-only MIB-II (RFC1213--MIB) Object Identifiers (OIDs). 4-38

700 Series Color Mobile Computer User’s Manual

Page 126

SECTION 4

Network Support

" NOTE:

You can only query these seven OIDs through an SNMP management station, these are not available in the Unit Manager applications.

Management Information Base

The Management Information Base is a database that contains information about the elements to be managed. The information identifies the management element and specifies its type and access mode (Read-Only, Read-Write). MIBs are written in ASN.1 (Abstract Syntax Notation.1) -- a machine independent data definition language. Note: Elements to be managed are represented by objects. The MIB is a structured collection of such objects. You will find the following MIB files either on the 700C Tools CD or on the web via http://www.intermec.com: INTERMEC.MIB Defines the root of the Intermec MIB tree. ITCADC.MIB Defines objects for Automated Data Collection (ADC), such as bar code symbologies. ITCSNMP.MIB Defines objects for Intermec SNMP parameters and security methods, such as an SNMP security IP address. ITCTERMINAL.MIB Defines objects for 700 Series parameters, such as key clicks.

Object Identifiers

Each object has a unique identifier called an OID. OIDs consist of a sequence of integer values represented in dot notation. Objects are stored in a tree structure. OIDs are assigned based on the position of the object in the tree. Seven MIB OIDs are shown in Table 4-1 below and on the next page. EXAMPLE:

The internet OID = 1.3.6.1. Table 4-1 MIB Object Identifiers Group or Table

MIB-II Item

OID ifNumber

1.3.6.1.2.1.2.1.0

Interfaces Group

Indicates the number of adapters present in the system. For the 700 Series Computer, if one adapter is present in the system, then ifNumber = 1 and ifIndex = 1.

ifIndex

1.3.6.1.2.1.2.2.1.1.ifIndex

Interfaces Table (ifTable)

A unique value for each interface. The value ranges between 1 and the value of ifNumber.

ifDescr

1.3.6.1.2.1.2.2.1.2.ifIndex

Interfaces Table (ifTable)

A textual string containing information about the interface.

ifType

1.3.6.1.2.1.2.2.1.3.ifIndex

Interfaces Table (ifTable)

An integer containing information about the type of the interface. It is equal to 1 for Other.

ipAdEntAddr

1.3.6.1.2.1.4.20.1.1.IpAddress

IP address Table The IP address to which this entry’s (ipAddrTable) addressing information pertains (same as 700 IP address), where IP Address is the valid non-zero IP address of the 700 Series Computer.

Description

700 Series Color Mobile Computer User’s Manual

4-39

Page 127

Network Support

SECTION 4

Table 4-1 (Continued) MIB Object Identifiers Group or Table

MIB-II Item

OID

Description ipAdEntIfIndex

1.3.6.1.2.1.4.20.1.2.IpAddress

IP address Table The index value that uniquely (ipAddrTable) identifies the interface to which this entry is applicable (same as ifIndex).

ipAdEntNetMask

1.3.6.1.2.1.4.20.1.3.IpAddress

IP address Table The subnet mask associated with (ipAddrTable) the IP address of this entry (same as Subnet Mask).

Configuring with SNMP The community string allows an SNMP manager to manage the 700 Series Computer with a specified privilege level. The default read-only community string is “public” and “private” is the default read/write community string. See the specific configuration parameter to find its OID. To configure the 700 Series Computers using SNMP: 1. Configure your 700 Series Computers for RF or Ethernet communications. 2. Determine the OID (Object Identifier) for the parameter to be changed. The Intermec base OID is 1.3.6.1.4.1.1963. 3. Use your SNMP management station to get and set variables that are defined in the Intermec MIBs. You can set the traps, identification, or security configuration parameters for SNMP. See Appendix A, “Control Panel Applets,” to learn more about these parameters.

4-40

700 Series Color Mobile Computer User’s Manual

Page 128

Network Support

SECTION 4

Network Selection APIs The Network Selection APIs allow the user to change network adapter configuration programmatically. Both drivers support the same IOCTL function numbers for loading and unloading the drivers. Loading and unloading of the 802.11b driver is performed by the FWV1: device in the system by performing DeviceIOControl() calls to the driver. Loading and unloading of the driver for the built-in Ethernet adapter is performed by the SYI1: device in the system by performing DeviceIOControl() calls to the driver. For loading an NDIS driver associated with an adapter, the IOCTL is IOCTL_LOAD_NDIS_MINIPORT. For unloading NDIS drivers associated with an adapter the IOCTL is IOCTL_UNLOAD_NDIS_MINIPORT. EXAMPLE:

#include <winioctl.h> #include “sysio.h” void DoLoad(int nDevice) { LPTSTR devs[] = { _T(“SYI1:”), _T(“FWV1:”) }; HANDLE hLoaderDev; DWORD bytesReturned; hLoaderDev = CreateFile(devs[nDevice], GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); if (hLoaderDev != INVALID_HANDLE_VALUE) { if (!DeviceIoControl( hLoaderDev, IOCTL_LOAD_NDIS_MINIPORT, NULL, -1, NULL, 0, &bytesReturned, NULL)){ MessageBox(NULL, TEXT(“SYSIO IoControl Failed”), TEXT(“Network loader”),MB_ICONHAND); if (hLoaderDev!=INVALID_HANDLE_VALUE) CloseHandle(hLoaderDev); hLoaderDev = INVALID_HANDLE_VALUE; // bad handle }else { CloseHandle(hLoaderDev); } } } void DoUnload(int nDevice) { LPTSTR devs[] = { _T(“SYI1:”), _T(“FWV1:”) }; HANDLE hLoaderDev; DWORD bytesReturned; hLoaderDev = CreateFile(devs[nDevice], GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); if (hLoaderDev != INVALID_HANDLE_VALUE) { if (!DeviceIoControl( hLoaderDev, IOCTL_UNLOAD_NDIS_MINIPORT, NULL, -1, NULL, 0, &bytesReturned, NULL)){ MessageBox(NULL, TEXT(“SYSIO IoControl Failed”),TEXT(“Network loader”),MB_ICONHAND); if (hLoaderDev!=INVALID_HANDLE_VALUE) CloseHandle(hLoaderDev); hLoaderDev = INVALID_HANDLE_VALUE; // bad handle }else { CloseHandle(hLoaderDev); } } }

700 Series Color Mobile Computer User’s Manual

4-41

Page 129

Network Support

4-42

700 Series Color Mobile Computer User’s Manual

SECTION 4