All MIBs › HUAWEI-FTP-MIB › hwFtpServerEnable
hwFtpServerEnable
Module: HUAWEI-FTP-MIB
OID (symbolic): HUAWEI-FTP-MIB::hwFtpServerEnable
OID (numeric): 1.3.6.1.4.1.2011.5.25.166.1.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The object specifies whether the FTP server is enable. Default value is 2.
What is hwFtpServerEnable?
This read-write enumerated value turns the device's FTP server on (enable) or off (disable), defaulting to disabled(2). Admins set this to enable(1) only when they need FTP file transfer access to the device, and otherwise leave it disabled to reduce attack surface. For example, an admin temporarily sets this to enable(1) to push a firmware image via FTP, then sets it back to disable(2) afterward.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.166.1.1.1 snmpwalk -v2c -c public <target> HUAWEI-FTP-MIB::hwFtpServerEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.166.1.1.1.1 snmpget -v2c -c public <target> HUAWEI-FTP-MIB::hwFtpServerEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.166.1.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwFtpServerEnable.1
Start monitoring Huawei router or switch (FTP server/client for firmware/config transfer) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-FTP-MIB::hwFtpServerEnable OID value, configure state conditions and alerts, and monitor any Huawei router or switch (FTP server/client for firmware/config transfer) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.166 | hwFtp | HUAWEI-FTP-MIB |
| 1.3.6.1.4.1.2011.5.25.166.1 | hwFtpObjects | HUAWEI-FTP-MIB |
| 1.3.6.1.4.1.2011.5.25.166.1.1 | hwFtpServer | HUAWEI-FTP-MIB |
| 1.3.6.1.4.1.2011.5.25.166.1.1.1 | hwFtpServerEnable | HUAWEI-FTP-MIB |