Compaq AAR04BCTE manual Using the MIB Browser, MIB Browser Data Types, s sleepinterval, v version

Models: AAR04BCTE

1 132
Download 132 pages 53.41 Kb
Page 49
Image 49
4.1 Using the MIB Browser

 

Using the SNMP Utilities

 

4.1 Using the MIB Browser

Table 4–2 (Cont.) Flags for the snmp_request Command

 

 

Flag

Description

 

 

-ssleep_interval

Specifies the number of seconds between iterations of sending a request

 

(for the -rflag) and listening for a reply (for the -i) flag. The default is

 

1 second. This flag is ignored if neither the -rflag nor the -iflag are

 

specified.

 

The -sflag is useful for specifying a time to wait between resends, which

 

might be necessary when a server agent is starting up.

-t

Specifies tree mode. Valid only if request-typeis GetNext or GetBulk

 

(where flag n is set to 0 and flag m is set to a number greater than 0).

 

Similar to the -lflag. Directs the agent to perform a MIB walk for the

 

subtree with the variable_name as its root. The program reads and prints

 

responses and issues requests until the agent has no more data for the

 

specified subtree, times out, or is interrupted by a user.

-vversion

Specifies the SNMP version to use for sending the PDU. The versions are:

 

2c or 1 (default). Not case sensitive. You can specify the flag without a

 

space (-v2cand -v1).

 

If request_type is getbulk, the version defaults to SNMP Version 2.

 

If you specify -v 2c to send a message to an SNMP Version 1 agent or

 

subagent, it is unlikely to respond.

-wmax_wait

Specifies the maximum seconds the snmp_request program waits for a

 

reply before timing out. Cannot be 0. The default is 3.

 

 

The -i, -r, and -sflags apply to individual queries. If you specify the -lor -tflags also, the values for the -i, -r, and -sflags are applied to each iteration.

4.1.3 MIB Browser Data Types

The snmp_request and snmp_trapsnd commands support the data types listed in Table 4–3. These values apply to Set requests only.

Table 4–3 Data Types for the snmp_request and snmp_trapsnd Commands

Data Type

Value

 

 

Counter

-c

Counter641

-l

Display string

-D

Gauge

-g

Integer

-i

IP address

-a

NULL

-N

Object identifier

-d

Octet

-o

Opaque string

-q

Time ticks

-t

1For support of trap sender program (TCPIP$SNMP_TRAPSND.EXE) only. Properly defined, MIB variables of type Counter64 are not writable.

Using the SNMP Utilities 4–5

Page 49
Image 49
Compaq AAR04BCTE manual Using the MIB Browser, MIB Browser Data Types, s sleepinterval, v version, w maxwait