jetsend-contact-ip-address-security

CLJ8550-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.3.8.3.1.2

Object

scalar optional r/w OctetString
A C structure containing the following fields:
typedef struct {
    ubyte reserved[3];
    ubyte command; /* command: 0 to 1 */
    ubyte password[8];
    ubyte IPAddress[4];
} jetsend_contact_ip_address_security_t;
where ubyte is an unsigned byte (0-255).  The defined
values defined for command are:  
           
When command is 0:  
 IPAddress is 0:  device is locked, no one can contact
it  
 IPAddress is > 0:  only that address is allowed to
contact the device  
           
When command is 1:  
 IPAddress is 0:  any device can contact it  
 IPAddress is > 0:  any device matching this mask can
contact it.  If the result of logically anding the mask
value supplied in the IPAddress field with the sending
device's IP address matches the result of logically
anding the mask value supplied in the IPAddress field
with this device's IP address, then JetSend will allow
the session to be established.
Additional information:
Controls the device or class of device(s) which may 
	communicate with the JetSend processing subsystem. 
	The following C data structure contains the relevant fields 
	(described in subsequent paragraphs):  
	typedef struct {   
	unsigned char reserved[3];   
	unsigned char command;   
	unsigned char password[8];   
	unsigned char IPAddress[4]; }   
	The 'reserved' field is not used and should remain zero-filled.
          	  
	The 'command' field interpretation differs based on its value: 
	0 = Accept session(s) only from the specific device whose IP 
	address matches the specified IP address; all other session 
	request(s) from non-matching device(s) are rejected. 1 = Accept
	session(s) only from the specific device(s) whose IP 
	address(es) conform to the mask specified in the 'IPAddress' 
	field; all other session request(s) from device(s) with 
	non-matching submask(s) are rejected. (If the result of 
	logically AND'ing the mask value supplied in the 'IPAddress' 
	field with the sending device's IP address matches the result 
	of logically AND'ing the mask value supplied in the 'IPAddress'
	field with this device's IP address, then JetSend will allow 
	session establishment.   
	Password absence/presence determines whether the device will 
	allow the caller to alter the IP address security. 
	If the password is disabled, the caller may set the 'command' 
	and 'IPAddress' fields directly. If the password is enabled, 
	the caller may (re-)set the 'command' and 'IPAddress' fields 
	only after specifying the matching 'password' field. (Refer to 
	the aforementioned 'JETSEND-CONTACT-PASSWORD' object ID.) 
	(Specifying either an invalid 'command' field value or a 
	'password' field greater than eight (8) bytes or an 'IPAddress'
	field greater than four (4) bytes causes the error 
	<badValue> to be returned.)

Context

MIB
CLJ8550-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.3.8.3.1.2
Type
scalar
Access
readwrite
Status
optional
Parent
settings-jetsend-contact

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLJ8550-MIB::jetsend-contact-ip-address-security.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLJ8550-MIB::jetsend-contact-ip-address-security'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 16-16