
Writing Technician Interface Scripts
2-26 117382-A Rev. A
octetfmt
The octetfmt command formats a MIB entry with an Octet or Opaque data type
using the specified format type.
Syntax
The octetfmt command has the following syntax:
octetfmt
<variable_name>
<format_type>
<MIB_object>
<variable_name>
is the name of the variable.
<format_type>
is one of the following values:
ASCII_STRING returns the data as a printable display string. Any data that is not
printable is returned as its hex value in the form
<00>
.
DEC_BYTES formats the data as an unsigned decimal number, with each byte
separated by a dot.
DEC_WORDS formats the data as an unsigned decimal number, with a dot
separating every 2 bytes.
DEC_LONGS formats the data as an unsigned decimal number, with a dot
separating every 4 bytes.
HEX_BYTES formats the data as a hexadecimal string, with each byte separated
by a dot.
HEX_WORDS formats the data as a hexadecimal string, with a dot separating
every 2 bytes.
HEX_LONGS formats the data as a hexadecimal string, with a dot separating
every 4 bytes.
HEX_USTRING or HEX_STRING formats the data as a hexadecimal string using
uppercase digits for ‘A-F.’
HEX_LSTRING formats the data as a hexadecimal string, using lowercase digits
for ‘a-f.’
MAC1_ADDRESS or MAC_ADDRESS formats the data as a canonical MAC
address.
Comentários a estes Manuais