All MIBs › PICA-PRIVATE-MIB › tftpBatchFilePath
tftpBatchFilePath
Module: PICA-PRIVATE-MIB
OID (symbolic): PICA-PRIVATE-MIB::tftpBatchFilePath
OID (numeric): 1.3.6.1.4.1.35098.2.1
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: If the tftp path of a command batch file is set, the present configurations will changed depending on the execution of the command in the batch file.
What is tftpBatchFilePath?
tftpBatchFilePath holds the TFTP server path to a batch file of CLI commands that, once set, the switch fetches and executes against its running configuration. Admins use this to automate a sequence of configuration commands remotely via SNMP, similar to tftpConfigFilePath but for command scripts rather than a full config file. For example, setting tftpBatchFilePath to "tftp://10.0.0.5/enable-vlans.txt" would cause the switch to download and run each command in that batch file in order.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.35098.2.1 snmpwalk -v2c -c public <target> PICA-PRIVATE-MIB::tftpBatchFilePath
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.35098.2.1.1 snmpget -v2c -c public <target> PICA-PRIVATE-MIB::tftpBatchFilePath.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.35098.2.1.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> tftpBatchFilePath.1
Start monitoring Pica8 Pronto switches (CPU/memory/temperature/SFP diagnostics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PICA-PRIVATE-MIB::tftpBatchFilePath OID value, configure state conditions and alerts, and monitor any Pica8 Pronto switches (CPU/memory/temperature/SFP diagnostics) from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.35098 | picaPrivateMib | PICA-PRIVATE-MIB |
| 1.3.6.1.4.1.35098.2 | switchConfigGroup | PICA-PRIVATE-MIB |
| 1.3.6.1.4.1.35098.2.1 | tftpBatchFilePath | PICA-PRIVATE-MIB |