fwUpdateImageUri

IBM-BCCUSTOM-MIB · ibm variant · .1.3.6.1.4.1.2.6.215.3.1.2.7

Object

scalar r/w OctetString
This is a URI string specifies the protocol and various location parameters to be
used by the switch to perform a get operation using any of the supported
protocols TFTP, FTP, sFTP. SFTP and FTP are mandatory and TFTP is
recommended to support various user update tools. The IOM must report the
protocols supported for the level of executing firmware in the IOM capabilities
field of the VPD EEPROM. In this context the CMM (or remote host) acts as the
server and the IOM acts as the client. The format of this string is as follows:
<protocol>://<username>:<password>@<IP address or hostname:<port>/<path>/<filename>
          
An example of a URI for the firmware packet file would be:
ftp://USERID:PASSW0RD@192.168.0.2:30045/tmp/1308 application.img1
						or
ftp://USERID:PASSW0RD@[fe80::290:27ff:fe29:6019]:30045/tmp/application.img
						or
sftp://USERID:PASSW0RD@192.168.0.2:30045/tmp/application.img
						or
sftp://USERID:PASSW0RD@[fe80::290:27ff:fe29:6019]:30045/tmp/application.img
          
where the FTP or sFTP protocol will be used for transferring the packet file,
username is USERID, password is PASSW0RD, host IP address is either
fe80::290:27ff:fe29:6019 or 192.168.0.2, port number is 30045, and /tmp is the
full pathname to the packet file application.img.
          
Some protocols do not need the username, password, and the port number, so
the minimum requirement for a fully qualified address would be:
<protocol>://<IP address or hostname>/<path</<filename>
          
An example of a fully qualified address for the firmware packet file can be:
tftp://192.168.0.2:2022/tmp/application.img.
          
ote: (1) the MM will set the URI to the IOM. This URI may point to a server that
is internal to the chassis with an IP address/hostname or if the server is external
to the chassis then a public IP address/ hostname. Therefore the IP address of
the server may or may not be the MMs IP address. In addition when a public IP
address/hostname is used the filename in the URI may point to the top level
directory that contains many files that make up the firmware image and the IOM
is responsible to accept or reject this operation and indicate this by utilizing the
status OID.

Context

MIB
IBM-BCCUSTOM-MIB
OID
.1.3.6.1.4.1.2.6.215.3.1.2.7
Type
scalar
Access
readwrite
Status
current
Parent
firmwareCmd

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-BCCUSTOM-MIB::fwUpdateImageUri.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-BCCUSTOM-MIB::fwUpdateImageUri'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-512