DLI DC3 Object Model Reference
20211225T044803Z
SNMP server object
objectsnmp/
Object representing SNMP server configuration
dot_inline_dotgraph_514.png

Retrieving the value is denied if not administrative user

This object contains the following items:

enabledSNMP server enabled
engine_idEngine ID
oid_subtreesOID subtrees
usersUsers
community_mappingsCommunity mappings
known_auth_methodsKnown authentication methods
known_priv_methodsKnown privacy methods

Sample CLI read command:

uom get snmp

Sample JS request write command:

request.put({url:"snmp/",body:<...>});

Browse more samples

SNMP server enabled

sum (boolean)snmp/enabled/
SNMP server enable status
dot_inline_dotgraph_515.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This sum represents a value in persistent storage.

This sum can assume the following values:

constant trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library write command:

uom.snmp.enabled=true

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/snmp/enabled/',auth=auth,headers=headers).json())

False

Browse more samples

Engine ID

stringsnmp/engine_id/
The engine ID, in hexadecimal, to which all user authentication and privacy keys are localized
dot_inline_dotgraph_516.png

The value is subject to the following constraints: the value matches ^([0-9A-Fa-f]{2})*$

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample uom library read command:

print(uom.dump(uom.snmp.engine_id))

"C7A2088A94F7EA306E"

Sample CLI write command:

uom set "snmp/engine_id" "\"003827CB\""

Browse more samples

OID subtrees

mapsnmp/oid_subtrees/
OID subtrees exposed by SNMP server
dot_inline_dotgraph_517.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This map represents a value in persistent storage.

This map contains OID subtree elements.

Sample curl OID subtree creation command:

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"read_security_level\":\"noauth\",\"root\":\"1.3.6.1.2.1.229\",\"title\":\"energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)\",\"write_security_level\":\"noauth\"}" "http://192.168.0.100/restapi/snmp/oid_subtrees/energyObject/"

Sample requests write command:

requests.put('http://192.168.0.100/restapi/snmp/oid_subtrees/',auth=auth,headers=headers,json={'energyObject': {'read_security_level': 'noauth', 'root': '1.3.6.1.2.1.229', 'title': 'energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)', 'write_security_level': 'noauth'}})

Browse more samples

See also OID subtrees: OID subtree

OID subtrees: OID subtree

objectsnmp/oid_subtrees/S/
Properties of an OID subtree
dot_inline_dotgraph_518.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This object represents a value in persistent storage.

This object contains the following items:

titleTitle
rootRoot mask
read_security_levelRead security level
write_security_levelWrite security level

Sample CLI read command (note that oid_subtree is a variable):

uom get "snmp/oid_subtrees/${oid_subtree}"

{"read_security_level":"noauth","root":"1.3.6.1.2.1.229","title":"energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)","write_security_level":"noauth"}

Sample requests read command (note that _oid_subtree is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/oid_subtrees/'+_oid_subtree+'/',auth=auth,headers=headers).json())

{'read_security_level': 'noauth', 'root': '1.3.6.1.2.1.229', 'title': 'energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)', 'write_security_level': 'noauth'}

Browse more samples

Title

stringsnmp/oid_subtrees/S/title/
The title of this subtree
dot_inline_dotgraph_519.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample curl write command (note that :oid_subtree is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)\"" "http://192.168.0.100/restapi/snmp/oid_subtrees/:oid_subtree/title/"

Sample requests write command (note that _oid_subtree is a variable):

requests.put('http://192.168.0.100/restapi/snmp/oid_subtrees/'+_oid_subtree+'/title/',auth=auth,headers=headers,json='energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)')

Browse more samples

Root mask

stringsnmp/oid_subtrees/S/root/
The root OID mask of this subtree (for all but the first two arcs, '*' can be used for "don't care" parts, and inclusive ranges can be specified like '1,2,4-7')
dot_inline_dotgraph_520.png

The value is subject to the following constraints: the value matches ^(0|1|(01|2)(.(*|(0|[1-9][0-9]*)(-(0|[1-9][0-9]*))?(,(0|[1-9][0-9]*)(-(0|[1-9][0-9]*))?)*))*)$

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample requests read command (note that _oid_subtree is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/oid_subtrees/'+_oid_subtree+'/root/',auth=auth,headers=headers).json())

'1.3.6.1.2.1.229'

Sample CLI write command (note that oid_subtree is a variable):

uom set "snmp/oid_subtrees/${oid_subtree}/root" "\"1.3.6.1.2.1.229\""

Browse more samples

Read security level

sum (enumerated string)snmp/oid_subtrees/S/read_security_level/
Required security level for reading from this subtree
dot_inline_dotgraph_521.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This sum represents a value in persistent storage.

This sum can assume the following values:

constant "deny"ForbiddenNobody can read from this OID subtree
constant "priv"Authenticated and encryptedSNMPv3 authentication and encryption must be used to read from this OID subtree
constant "auth"AuthenticatedSNMPv3 authentication must be used to read from this OID subtree (encryption is optional)
constant "noauth"MinimalAny protocol, including SNMPv1 and SNMPv2c, can be used to read from this OID subtree (authentication and encryption are optional)

Sample requests write command (note that _oid_subtree is a variable):

requests.put('http://192.168.0.100/restapi/snmp/oid_subtrees/'+_oid_subtree+'/read_security_level/',auth=auth,headers=headers,json='noauth')

Sample JS request write command (note that _oid_subtree is a variable):

request.put({url:"snmp/oid_subtrees/"+_oid_subtree+"/read_security_level/",body:"noauth"});

Browse more samples

Write security level

sum (enumerated string)snmp/oid_subtrees/S/write_security_level/
Required security level for writing to this subtree
dot_inline_dotgraph_522.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This sum represents a value in persistent storage.

This sum can assume the following values:

constant "deny"ForbiddenNobody can write to this OID subtree
constant "priv"Authenticated and encryptedSNMPv3 authentication and encryption must be used to write to this OID subtree
constant "auth"AuthenticatedSNMPv3 authentication must be used to write to this OID subtree (encryption is optional)
constant "noauth"MinimalAny protocol, including SNMPv1 and SNMPv2c, can be used to write to this OID subtree (authentication and encryption are optional)

Sample JS request read command (note that _oid_subtree is a variable):

request.get({url:"snmp/oid_subtrees/"+_oid_subtree+"/write_security_level/"},function(error,response,body) {console.log(body)});

"noauth"

Sample requests write command (note that _oid_subtree is a variable):

requests.put('http://192.168.0.100/restapi/snmp/oid_subtrees/'+_oid_subtree+'/write_security_level/',auth=auth,headers=headers,json='noauth')

Browse more samples

Users

mapsnmp/users/
SNMP user accounts
dot_inline_dotgraph_523.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This map represents a value in persistent storage.

This map contains User elements.

Sample curl user creation command:

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"priv_password\":\"readerPrivPassword\",\"has_auth_password\":null,\"subtree_access\":{\"energyObject\":\"readonly\"},\"auth_password\":\"readerAuthPassword\",\"is_allowed\":false,\"priv_method\":\"aes\",\"auth_method\":\"sha1\"}" "http://192.168.0.100/restapi/snmp/users/powerReader/"

Sample uom library write command:

uom.snmp.users={powerAdmin={auth_method="md5",auth_password="adminAuthPassword",is_allowed=false,priv_method="aes",priv_password="adminPrivPassword",subtree_access={energyObject=true}},powerReader={auth_method="md5",auth_password="readerAuthPassword",is_allowed=true,priv_method="aes",priv_password="readerPrivPassword",subtree_access={energyObject="readonly"}}}

Browse more samples

User

objectsnmp/users/S/
Properties of an SNMP user
dot_inline_dotgraph_524.png

The value is subject to the following constraints: index of the value matches ^[a-zA-Z0-9]*$

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This object represents a value in persistent storage.

This object contains the following items:

is_allowedUser allowed
auth_methodAuthentication method
has_auth_passwordAuthentication password configured
auth_passwordAuthentication password
priv_methodPrivacy method
has_priv_passwordPrivacy password configured
priv_passwordPrivacy password
subtree_accessSubtree access levels

Sample JS request deletion command (note that _user is a variable):

request.delete({url:"snmp/users/"+_user+"/"});

Sample JS request read command (note that _user is a variable):

request.get({url:"snmp/users/"+_user+"/"},function(error,response,body) {console.log(body)});

{"priv_password":"adminPrivPassword","has_auth_password":true,"subtree_access":{"energyObject":true},"auth_password":"adminAuthPassword","is_allowed":true,"priv_method":"des","auth_method":"sha1","has_priv_password":true}

Browse more samples

See also User: User allowed

See also User: Authentication method

See also User: Authentication password configured

See also User: Authentication password

See also User: Privacy method

See also User: Privacy password configured

See also User: Privacy password

See also User: Subtree access levels

User: User allowed

sum (boolean)snmp/users/S/is_allowed/
Flag indicating whether user is allowed or denied
dot_inline_dotgraph_525.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This sum represents a value in persistent storage.

This sum can assume the following values:

constant trueAllowedThe user is allowed to log in
constant falseDeniedThe user is denied login

Sample uom library write command (note that _user is a variable):

uom.snmp.users[_user].is_allowed=false

Sample CLI write command (note that user is a variable):

uom set "snmp/users/${user}/is_allowed" "true"

Browse more samples

User: Authentication method

stringsnmp/users/S/auth_method/
User authentication method
dot_inline_dotgraph_526.png

The value is subject to the following constraints: known authentication methods[the value]

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample uom library write command (note that _user is a variable):

uom.snmp.users[_user].auth_method="sha1"

Sample JS request write command (note that _user is a variable):

request.put({url:"snmp/users/"+_user+"/auth_method/",body:"md5"});

Browse more samples

User: Authentication password configured

sum (boolean)snmp/users/S/has_auth_password/
Flag indicating if the authentication password has been configured for the user (cleared if engine ID or authentication method changes)
dot_inline_dotgraph_527.png

The value is unconditionally set to authentication password is not equal to "" on creation and doesn't have to be supplied (if it is, it must match)

Retrieving the value is denied if not administrative user

This sum does not support direct modification.

This sum can change as if by itself or indirectly because of other actions.

Changes to this sum cannot be tracked.

This sum can assume the following values:

constant trueConfiguredThe authentication password has been configured
constant falseNot configuredThe authentication password hasn't been configured, the user won't be able to log in

Sample CLI read command (note that user is a variable):

uom get "snmp/users/${user}/has_auth_password"

false

Sample requests read command (note that _user is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/users/'+_user+'/has_auth_password/',auth=auth,headers=headers).json())

True

Browse more samples

User: Authentication password

stringsnmp/users/S/auth_password/
User authentication password (cannot be read as it is stored localized to the engine ID), empty if not set
dot_inline_dotgraph_528.png

The value is subject to the following constraints: any of the following is true:

Retrieving the value is denied

Changing the value is denied if any of the following is true:

Using the string as a field for indexing into the grandparent collection is denied

This string represents a value in persistent storage.

This string can change as if by itself or indirectly because of other actions.

This string should be displayed in a secure manner.

Representation of the resource cannot be obtained. Attempts to do so via a JSON API will succeed but return '{"$ref":""}' which means "the value of this resource".

Sample uom library write command (note that _user is a variable):

uom.snmp.users[_user].auth_password="readerAuthPassword"

Sample curl write command (note that :user is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"readerAuthPassword\"" "http://192.168.0.100/restapi/snmp/users/:user/auth_password/"

Browse more samples

User: Privacy method

stringsnmp/users/S/priv_method/
User privacy method
dot_inline_dotgraph_529.png

The value is subject to the following constraints: known privacy methods[the value]

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample CLI read command (note that user is a variable):

uom get "snmp/users/${user}/priv_method"

"des"

Sample uom library read command (note that _user is a variable):

print(uom.dump(uom.snmp.users[_user].priv_method))

"des"

Browse more samples

User: Privacy password configured

sum (boolean)snmp/users/S/has_priv_password/
Flag indicating if the privacy password has been configured for the user (cleared if engine ID or authentication or privacy method changes)
dot_inline_dotgraph_530.png

The value is unconditionally set to privacy password is not equal to "" on creation and doesn't have to be supplied (if it is, it must match)

Retrieving the value is denied if not administrative user

This sum does not support direct modification.

This sum can change as if by itself or indirectly because of other actions.

Changes to this sum cannot be tracked.

This sum can assume the following values:

constant trueConfiguredThe privacy password has been configured
constant falseNot configuredThe privacy password hasn't been configured, the user won't be able to log in

Sample requests read command (note that _user is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/users/'+_user+'/has_priv_password/',auth=auth,headers=headers).json())

False

Sample CLI read command (note that user is a variable):

uom get "snmp/users/${user}/has_priv_password"

false

Browse more samples

User: Privacy password

stringsnmp/users/S/priv_password/
User privacy password (cannot be read as it is stored localized to the engine ID), empty if not set
dot_inline_dotgraph_531.png

The value is subject to the following constraints: any of the following is true:

Retrieving the value is denied

Changing the value is denied if any of the following is true:

Using the string as a field for indexing into the grandparent collection is denied

This string represents a value in persistent storage.

This string can change as if by itself or indirectly because of other actions.

This string should be displayed in a secure manner.

Representation of the resource cannot be obtained. Attempts to do so via a JSON API will succeed but return '{"$ref":""}' which means "the value of this resource".

Sample curl write command (note that :user is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"adminPrivPassword\"" "http://192.168.0.100/restapi/snmp/users/:user/priv_password/"

Sample CLI write command (note that user is a variable):

uom set "snmp/users/${user}/priv_password" "\"readerPrivPassword\""

Browse more samples

User: Subtree access levels

mapsnmp/users/S/subtree_access/
OID subtree access levels
dot_inline_dotgraph_532.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This map is composite, i.e. is modified as a whole.

This map represents a value in persistent storage.

This map contains Subtree access elements.

Sample curl read command (note that :user is a URL template argument):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/snmp/users/:user/subtree_access/"

{"energyObject":false}

Sample requests read command (note that _user is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/users/'+_user+'/subtree_access/',auth=auth,headers=headers).json())

{'energyObject': True}

Browse more samples

Subtree access

sum (optional variant)snmp/users/S/subtree_access/S/
OID subtree access level
dot_inline_dotgraph_533.png

The value is subject to the following constraints: OID subtrees[index of the value]

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This sum is a part of a composite value which is modified as a whole.

This sum represents a value in persistent storage.

This sum can assume the following values:

constant trueFullOIDs can be read and written by the user
constant "readonly"Read-onlyOIDs can only be read, not written, by the user
constant falseNoneOIDs can neither be read nor written by the user
constant nullDefaultNo access rule present (permissions are determined by parent OID access levels, or denied)

Sample curl read command (note that :user and :subtree_access are URL template arguments):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/snmp/users/:user/subtree_access/:subtree_access/"

"readonly"

Sample CLI deletion command (note that user and subtree_access are variables):

uom remove "snmp/users/${user}/subtree_access/${subtree_access}"

Browse more samples

Community mappings

arraysnmp/community_mappings/
Mappings of SNMP v1/v2c communities to user names
dot_inline_dotgraph_534.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This array represents a value in persistent storage.

This array contains Community mapping elements.

Sample CLI read command:

uom get "snmp/community_mappings"

Sample uom library write command:

uom.snmp.community_mappings={{community="private",ip_address="10.86.178.141",netmask="255.0.0.0",user="userDHCIkZ"},{community="private",ip_address="192.168.176.137",netmask="255.255.255.0",user="userlz55zp"},{community="private",ip_address="10.23.202.164",netmask="255.0.0.0",user="userIokTQ"}}

Browse more samples

See also Community mappings: Community mapping

Community mappings: Community mapping

objectsnmp/community_mappings/N/
Properties of a community mapping
dot_inline_dotgraph_535.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This object represents a value in persistent storage.

This object contains the following items:

communityCommunity
userUser
ip_addressIP address
netmaskNetwork mask

Sample JS request deletion command (note that _community_mapping_index is a variable):

request.delete({url:"snmp/community_mappings/"+_community_mapping_index.toString()+"/"});

Sample uom library read command (note that _community_mapping_index is a variable):

print(uom.dump(uom.snmp.community_mappings[_community_mapping_index]))

{community="private",ip_address="192.168.241.211",netmask="255.255.255.0",user="user7uxv1"}

Browse more samples

Community

stringsnmp/community_mappings/N/community/
The community identifier
dot_inline_dotgraph_536.png

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample curl write command (note that :community_mapping_index is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"private\"" "http://192.168.0.100/restapi/snmp/community_mappings/:community_mapping_index/community/"

Sample requests write command (note that _community_mapping_index is a variable):

requests.put('http://192.168.0.100/restapi/snmp/community_mappings/'+str(_community_mapping_index)+'/community/',auth=auth,headers=headers,json='DTGA1wWg5')

Browse more samples

User

stringsnmp/community_mappings/N/user/
The user identifier
dot_inline_dotgraph_537.png

The value is subject to the following constraints: users[the value]

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample curl write command (note that :community_mapping_index is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"user1Db7xt\"" "http://192.168.0.100/restapi/snmp/community_mappings/:community_mapping_index/user/"

Sample JS request write command (note that _community_mapping_index is a variable):

request.put({url:"snmp/community_mappings/"+_community_mapping_index.toString()+"/user/",body:"user6zJZ"});

Browse more samples

IP address

stringsnmp/community_mappings/N/ip_address/
IP address allowed to connect
dot_inline_dotgraph_538.png

The value is subject to the following constraints: the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample uom library read command (note that _community_mapping_index is a variable):

print(uom.dump(uom.snmp.community_mappings[_community_mapping_index].ip_address))

"10.57.78.124"

Sample requests read command (note that _community_mapping_index is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/community_mappings/'+str(_community_mapping_index)+'/ip_address/',auth=auth,headers=headers).json())

'192.168.4.150'

Browse more samples

Network mask

stringsnmp/community_mappings/N/netmask/
Network mask allowed to connect
dot_inline_dotgraph_539.png

The value is subject to the following constraints: the value matches ^((2(5[42]|4[80]|24)|192|128|0).0.0.0|255.(2(5[42]|4[80]|24)|192|128|0).0.0|255.255.(2(5[42]|4[80]|24)|192|128|0).0|255.255.255.(2(5[542]|4[80]|24)|192|128|0))$

Retrieving the value is denied if not administrative user

Changing the value is denied if any of the following is true:

This string represents a value in persistent storage.

Sample CLI write command (note that community_mapping_index is a variable):

uom set "snmp/community_mappings/${community_mapping_index}/netmask" "\"255.255.255.0\""

Sample CLI read command (note that community_mapping_index is a variable):

uom get "snmp/community_mappings/${community_mapping_index}/netmask"

"255.0.0.0"

Browse more samples

Known authentication methods

mapsnmp/known_auth_methods/
Map of known authentication methods
dot_inline_dotgraph_540.png

Retrieving the value is denied if not administrative user

This map does not support direct modification.

This map represents a value in persistent storage.

This map contains Authentication method elements.

Creating elements in this collection is not supported.

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/snmp/known_auth_methods/"

{"sha1":"SHA1","md5":"MD5"}

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/snmp/known_auth_methods/',auth=auth,headers=headers).json())

{'sha1': 'SHA1', 'md5': 'MD5'}

Browse more samples

Authentication method

stringsnmp/known_auth_methods/S/
Authentication method name
dot_inline_dotgraph_541.png

Retrieving the value is denied if not administrative user

This string does not support direct modification.

This string represents a value in persistent storage.

Sample uom library read command (note that _authentication_method is a variable):

print(uom.dump(uom.snmp.known_auth_methods[_authentication_method]))

"SHA1"

Sample curl read command (note that :authentication_method is a URL template argument):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/snmp/known_auth_methods/:authentication_method/"

"MD5"

Browse more samples

Known privacy methods

mapsnmp/known_priv_methods/
Map of known privacy methods
dot_inline_dotgraph_542.png

Retrieving the value is denied if not administrative user

This map does not support direct modification.

This map represents a value in persistent storage.

This map contains Privacy method elements.

Creating elements in this collection is not supported.

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/snmp/known_priv_methods/',auth=auth,headers=headers).json())

{'aes': 'AES', 'des': 'DES'}

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/snmp/known_priv_methods/"

{"aes":"AES","des":"DES"}

Browse more samples

Privacy method

stringsnmp/known_priv_methods/S/
Privacy method name
dot_inline_dotgraph_543.png

Retrieving the value is denied if not administrative user

This string does not support direct modification.

This string represents a value in persistent storage.

Sample JS request read command (note that _privacy_method is a variable):

request.get({url:"snmp/known_priv_methods/"+_privacy_method+"/"},function(error,response,body) {console.log(body)});

"DES"

Sample requests read command (note that _privacy_method is a variable):

print(requests.get('http://192.168.0.100/restapi/snmp/known_priv_methods/'+_privacy_method+'/',auth=auth,headers=headers).json())

'AES'

Browse more samples