All MIBs › MELLANOX-CONFIG-DB-MIB › mellanoxConfigDBCmdExecute
mellanoxConfigDBCmdExecute
Module: MELLANOX-CONFIG-DB-MIB
OID (symbolic): MELLANOX-CONFIG-DB-MIB::mellanoxConfigDBCmdExecute
OID (numeric): 1.3.6.1.4.1.33049.12.1.1.2.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Depending on selected operation - BinarySwitchTo binary file, save to given filename TextApply text file, add to configuration, save to given filename, stop if command fails TextApplyFailContinue text file, add to configuration, save to given filename, continue if command fails BinaryUpload upload configuration file to remote destination ('active' can be used to upload the active configuration) TextUpload upload configuration file to remote destination ('active-running' and 'active-saved' can be used to upload running or startup configuration) ConfigWrite save the running configuration to given filename ('active' can be used to save as the currently active configuration file) BinaryDelete deletes a saved binary configuration file according to given filename TextDelete deletes a saved textual configuration file according to given filename
What is mellanoxConfigDBCmdExecute?
This read-write INTEGER triggers one of eight configuration-file operations, such as switching to a binary config, applying or uploading a text config, writing the running config to a file, or deleting a saved config. Admins use it as the action trigger for config management, working together with mellanoxConfigDBCmdUri and mellanoxConfigDBCmdFilename which supply the location and filename. For example, setting this to mellanoxConfigDBCmdExecuteConfigWrite (6) saves the running configuration to the filename given in mellanoxConfigDBCmdFilename.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.33049.12.1.1.2.3 snmpwalk -v2c -c public <target> MELLANOX-CONFIG-DB-MIB::mellanoxConfigDBCmdExecute
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.33049.12.1.1.2.3.1 snmpget -v2c -c public <target> MELLANOX-CONFIG-DB-MIB::mellanoxConfigDBCmdExecute.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.33049.12.1.1.2.3.1 i <value>
Start monitoring Mellanox switch platform (SwitchX/Spectrum-based, remote config-file management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MELLANOX-CONFIG-DB-MIB::mellanoxConfigDBCmdExecute OID value, configure state conditions and alerts, and monitor any Mellanox switch platform (SwitchX/Spectrum-based, remote config-file management) 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.33049 | mellanox | MELLANOX-MIB |
| 1.3.6.1.4.1.33049.12 | mellanoxConfigDB | MELLANOX-SMI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.33049.12.1 | mellanoxConfigDBMib | MELLANOX-CONFIG-DB-MIB |
| 1.3.6.1.4.1.33049.12.1.1 | mellanoxConfigDBMibObjects | MELLANOX-CONFIG-DB-MIB |
| 1.3.6.1.4.1.33049.12.1.1.2 | mellanoxConfigDBCmd | MELLANOX-CONFIG-DB-MIB |
| 1.3.6.1.4.1.33049.12.1.1.2.3 | mellanoxConfigDBCmdExecute | MELLANOX-CONFIG-DB-MIB |