hwFTPClientMode

HUAWEI-BULKSTATISTICS-MIB · .1.3.6.1.4.1.2011.6.103.2.1.2.1.2

Object

column r/w Enumeration
FTP mode: ftp(1), tftp(2), sftp(3)
Options:
1.ftp(1)  -FTP client mode.
2.tftp(2) -TFTP client mode.
3.sftp(3) -SFTP client mode.
If FTP/SFTP is used to transfer files, hwFTPClientUserName and hwFTPClientPasswd need to be bound.
Binding is not required in the case of file transfer through TFTP. 
The specified port ID needs to be bound in the case of file transfer through SFTP.

Context

MIB
HUAWEI-BULKSTATISTICS-MIB
OID
.1.3.6.1.4.1.2011.6.103.2.1.2.1.2
Type
column
Access
readwrite
Status
current
Parent
hwFTPClientEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BULKSTATISTICS-MIB::hwFTPClientMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BULKSTATISTICS-MIB::hwFTPClientMode.<hwFTPClientIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BULKSTATISTICS-MIB::hwFTPClientMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1ftp
2tftp
3sftp