All MIBs › ERI-DNX-SMC-MIB › dbHostCmdStatus
dbHostCmdStatus
Module: ERI-DNX-SMC-MIB
OID (symbolic): ERI-DNX-SMC-MIB::dbHostCmdStatus
OID (numeric): 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The command status for this remote host configuration row/record. The value used in a SET will be replaced by a response value in the GET RESPONSE indicating success or failure.
Default Response State used in GET RESPONSE Command ready-for-command (0) initial default status for a row
Host Commands used in SET Command (1..99)
update-host (1) Update the host addr, dir, and/or host name. clear-host (2) Clear all host info for the host entry. save-db (8) Save the DNX Configuration Database file to this host. saveDBToAll (9) Save the DNX Configuration Database file to all hosts. restore-db (11) Restore the DNX Configuration Database file from this host Upon restoring the file, the SMC/XNM card will reset itself and SNMP communication will be temporarily lost until either a Standby SMC/XNM takes over or until the restored system manager comes back online.
Response States used in GET RESPONSE Command (100..199) command-in-progress (100) host command is still working update-successful (101) host data has been successfully changed clear-successful (102) remote host data has been successfully removed save-successful (108) Database has been successfully saved save-all-successful (109) Database has been successfully saved to all hosts restore-successful (111) Database has been successfully restored, system will reset!
Host Config Error Codes used in GET RESPONSE Command (200..799) err-general-host-config-error (200) Unknown remote host configuration error occurred err-invalid-host-command (201) Unrecognized host command request err-invalid-host-addr (202) Invalid IP address values err-invalid-host-name (203) Configured host file name too long err-invalid-host-dir (204) Configured host directory name too long err-backup-file-creation-failed (210) Couldn't Create Backup File, Operation Aborted err-backup-file-transfer-failed (211) Couldn't TFTP Backup File to/from host err-data-locked-by-another-user (450) Another administrative user is making changes to this part of the system via a terminal session. Check Event Log for user name err-snmp-parse-failed (500) Agent could not parse variable err-invalid-snmp-type (501) Variable ASN type does not match Agent defined type err-invalid-snmp-var-size (502) Variable size is too big
What is dbHostCmdStatus?
This OID is a control value for sending host commands to the DNX device's database management system and reading back the execution status. The exact command options depend on the device, but it triggers database operations. An operator would write a command code to this OID to request database backup, restore, or diagnostic actions on the remote device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1.5 snmpwalk -v2c -c public <target> ERI-DNX-SMC-MIB::dbHostCmdStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1.5.1 snmpget -v2c -c public <target> ERI-DNX-SMC-MIB::dbHostCmdStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1.5.1 i <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.644 | eriEnterpriseRoot | ERI-ROOT-SMI |
| 1.3.6.1.4.1.644.2 | eriProducts | ERI-ROOT-SMI |
| 1.3.6.1.4.1.644.2.4 | dnx | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1 | sysMgr | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12 | utilities | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.1 | database | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.1.1 | dbBackup | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.1.1.10 | dbRemoteHostTable | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1 | dbRemoteHostTableEntry | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.1.1.10.1.5 | dbHostCmdStatus | ERI-DNX-SMC-MIB |