
Command Reference
117382-A Rev. A 2-27
MAC2_ADDRESS
formats the data as a noncanonical MAC address.
SIGNED_INTEGER or INTEGER formats the data as a 4-byte signed integer.
UNSIGNED_INTEGER formats the data as a 4-byte unsigned integer.
<MIB_object>
represents the variable values
<object.attribute.instance>
.
Example
The following example shows a script using the octetfmt command. The
command formats the MIB object as a hexadecimal string using uppercase digits.
octetfmt serialno HEX_USTRING wfHwBase.wfHwBpSerialNumber.0
echo \“Backplane serial number: 0x$serialno\”
Commenti su questo manuale