agnSwVersionSwapCmd
RAD-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.164.6.2.51
Object
scalar r/w
Enumeration
SW switch command. mainAndBackup (3) = Swap between Main SW and the backup one. Agent will perform the required command and change automatically the value of this object to off(2).
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::agnSwVersionSwapCmd.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::agnSwVersionSwapCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | off |
3 | mainAndBackup |