hwCpeLoadProtocol
HUAWEI-CPE-MGMT-MIB ·
.1.3.6.1.4.1.2011.6.106.3.2
Object
scalar r/w
Enumeration
Load protocol. Options: 1.tftp(1) - TFTP mode 2.ftp(2) - FTP mode 3.sftp(3) - SFTP mode 4.other(4) - Other mode 5.invalid(-1) - indicates that there is no CPE load operation. User can choose TFTP,FTP or SFTP mode to transfer files. The third transfer mode is used to extend.
Context
- MIB
- HUAWEI-CPE-MGMT-MIB
- OID
.1.3.6.1.4.1.2011.6.106.3.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwCpeUpgrade
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 'HUAWEI-CPE-MGMT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CPE-MGMT-MIB::hwCpeLoadProtocol.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CPE-MGMT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CPE-MGMT-MIB::hwCpeLoadProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | tftp |
2 | ftp |
3 | sftp |
4 | other |