file-system-security-access-password

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.1.10.1.9

Object

scalar mandatory r/w SNMPv2-TCDisplayString
This object acts as a gate keeper for write access to the PML		
objects FILE-SYSTEM-EXTERNAL-ACCESS-CAPABILITIES,		
FILE-SYSTEM-ERASE-MODE, and FILE-SYSTEM-WIPE-DISK. The object		
can be viewed as always being in one of 4 states:    	
    State 0 --> Un-initialized:		
        FILE-SYSTEM-SECURITY-ACCESS-PASSWORD is the empty		
        string and a pmlget operation on the object will return		
        the string '0'. This will be the state after an NVRAM		
        init which is the only way to set the object to the		
        empty string. It cannot be set to the empty string		
        through PML. In this state write access to		
        FILE-SYSTEM-EXTERNAL-ACCESS-CAPABILITIES,		
        FILE-SYSTEM-ERASE-MODE and FILE-SYSTEM-WIPE-DISK is		
        disabled while write access to the object itself is		
        enabled. A successful set operation on the object in		
        this state will return the string 'SET' and will result		
        in a transition to State 3.    	
    State 1 --> The Password is set to a non-empty string: A		
        pmlget operation on the object will return the string		
        '1' regardless of the actual stored password value. In		
        this state write access to		
        FILE-SYSTEM-EXTERNAL-ACCESS-CAPABILITIES,		
        FILE-SYSTEM-ERASE-MODE and FILE-SYSTEM-WIPE-DISK is		
        disabled. The only string the object itself can be		
        successfully set to while in this state is the current		
        value of the password. Setting the object to its		
        current value causes a transition to State 2 which is		
        an authenticated state. The value returned from such a		
        set operation will be the string 'OK'.    	
    State 2 --> The password is in an authenticated state: The		
        'gate' to write to the PML objects		
        FILE-SYSTEM-EXTERNAL-ACCESS-CAPABILITIES,		
        FILE-SYSTEM-ERASE-MODE, and FILE-SYSTEM-WIPE-DISK is		
        open. One, and only one, write operation can be		
        performed on one of these three objects. During such a		
        write operation the object itself will transition to		
        State 1 thus closing the gate. In State 2 a pmlset		
        operation on the object will result in the password		
        being set and a transfer to State 3. The value returned		
        from a set operation in this state on		
        FILE-SYSTEM-SECURITY-ACCESS-PASSWORD will be 'SET'. A		
        pmlget operation on the object will return the string		
        '2' regardless of the actual password value.    	
    State 3 --> The password was just changed: A pmlget		
        operation on the object will return the string '3'.		
        Otherwise behaviors in State 3 are exactly like in		
        State 1.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.10.1.9
Type
scalar
Access
readwrite
Status
mandatory
Parent
settings-file-system

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-LASERJET-COMMON-MIB::file-system-security-access-password.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-LASERJET-COMMON-MIB::file-system-security-access-password'

Syntax

Source
SNMPv2-TCDisplayString
Base type
OctetString
Display format
255a
Type Description
Represents textual information taken from the NVT ASCII
          
character set, as defined in pages 4, 10-11 of RFC 854.
          
To summarize RFC 854, the NVT ASCII repertoire specifies:
          
  - the use of character codes 0-127 (decimal)
          
  - the graphics characters (32-126) are interpreted as
    US ASCII
          
  - NUL, LF, CR, BEL, BS, HT, VT and FF have the special
    meanings specified in RFC 854
          
  - the other 25 codes have no standard interpretation
          
  - the sequence 'CR LF' means newline
          
  - the sequence 'CR NUL' means carriage-return
          
  - an 'LF' not preceded by a 'CR' means moving to the
    same column on the next line.
          
  - the sequence 'CR x' for any x other than LF or NUL is
    illegal.  (Note that this also means that a string may
    end with either 'CR LF' or 'CR NUL', but not with CR.)
          
Any object defined using this syntax may not exceed 255
characters in length.

Values & Constraints

Enumerated Values
2eInitializing
Type Constraints
range: 0..255