systemFileCmdUri
IBM-BCCUSTOM-MIB ·
ibm variant
·
.1.3.6.1.4.1.2.6.215.4.2.4
Object
scalar r/w
OctetString
This is a URI string that specifies the location and various parameters to be
used by the switch to perform a get or put 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 fully qualified address for the firmware packet file would be:
ftp://USERID:PASSW0RD@192.168.0.2:30045/tmp/service.log
or
ftp://USERID:PASSW0RD@[fe80::290:27ff:fe29:6019]:30045/tmp/service.log
or
sftp://USERID:PASSW0RD@192.168.0.2:30045/tmp/service.log
or
sftp://USERID:PASSW0RD@[fe80::290:27ff:fe29:6019]:30045/tmp/service.log
where the FTP or sFTP protocol will be used for transferring the packet file,
username is USERID, password is PASSW0RD, host IP address is
fe80::290:27ff:fe29:6019 or 192.168.0.2, port number is 30045, and /tmp is the
full pathname to the packet file service.log.
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/1527 tmp/service.log
Context
- MIB
- IBM-BCCUSTOM-MIB
- OID
.1.3.6.1.4.1.2.6.215.4.2.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- systemFileCmd
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 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-BCCUSTOM-MIB::systemFileCmdUri.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::systemFileCmdUri'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-1024