scriptsDhcpOptionsFormat
MX-CONF-MIB ·
.0.800.1.100.500.650
Object
scalar r/w
Enumeration
Scripts Dhcp Options Format
Defines the file server address format of DHCP options 66 and
67.
* FullyQualified: Allow up to 2 DHCP options (66 and/or 67)
to specify a string in the format Script=[protocol]://
[username]:[password]@[server]/[path]/[file].
* Url: Allow one DHCP option to specify a file or folder URL
in the format [protocol]://[username]:[password]@[server]/
[path]/[file]. It is possible to use macros in the URL
(see below). If the URL ends with a '/', it is further
completed with the path and filename specified in
ScriptLocation and ScriptGenericFileName parameters.
* ServerHost: Allow one DHCP option to specify the IP
address or FQDN of a file server. Uses the path and
filename specified in the ScriptLocation and
ScriptGenericFileName parameters, use the transfer
protocol, username and password specified in
ScriptTransferProtocol, ScriptTransferUsername and
ScriptTransferPassword parameters.
* AutoDetect: Automatically detects the format of the DHCP
Option, according to these criteria:
+ A value beginning with 'Script=' is considered as
'FullyQualified';
+ A value beginning with '[protocol]://' is considered
as a URL;
+ A value that looks like an IPv4/IPv6 address or domain
name is considered as a 'ServerHost'.
The following macros can be inserted in the URL and will be
replaced by their actual values:
* %mac% - the MAC address of the unit.
* %version% - the MFP version of the unit.
* %product% - the product name of the unit.
* %productseries% - the product series name of the unit.
* %profile% - the MFP profile of the unit.
* %serial% - the serial number of the unit.
Context
- MIB
- MX-CONF-MIB
- OID
.0.800.1.100.500.650- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- automaticScriptsTransferGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-CONF-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-CONF-MIB::scriptsDhcpOptionsFormat.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-CONF-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-CONF-MIB::scriptsDhcpOptionsFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
100 | fullyQualified |
200 | url |
300 | serverHost |
400 | autoDetect |