All MIBs › FILE-SYSTEM-MIB › swFSDriveCurrentDirectory
swFSDriveCurrentDirectory
Module: FILE-SYSTEM-MIB
OID (symbolic): FILE-SYSTEM-MIB::swFSDriveCurrentDirectory
OID (numeric): 1.3.6.1.4.1.171.12.14.2.3.3
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: Change the current directory to this directory. The path name can be specified either as a full path name or partial name. Entering a partial path name denotes that the directory is to be a part of the current directory.
What is swFSDriveCurrentDirectory?
A read-write path string (up to 64 characters) that changes the switch's current working directory; a partial path is treated as relative to the existing current directory, while a full path replaces it outright. Admins set this to navigate the file system via SNMP the same way 'cd' would work in the CLI, before running directory or file operations that use relative names.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.14.2.3.3 snmpwalk -v2c -c public <target> FILE-SYSTEM-MIB::swFSDriveCurrentDirectory
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.14.2.3.3.1 snmpget -v2c -c public <target> FILE-SYSTEM-MIB::swFSDriveCurrentDirectory.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.14.2.3.3.1 s <value>
Start monitoring D-Link managed switch/appliance (file system/storage capacity monitoring) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the FILE-SYSTEM-MIB::swFSDriveCurrentDirectory OID value, configure state conditions and alerts, and monitor any D-Link managed switch/appliance (file system/storage capacity monitoring) from a single console.
OID Breakdown
Upper-level ancestors (8 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.14 | swFileSystemMIB | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.2 | swFSDriveCtrl | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.2.3 | swFSDriveChangeCtrl | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.2.3.3 | swFSDriveCurrentDirectory | FILE-SYSTEM-MIB |