hh3cMirrorSwitch
HH3C-STORAGE-SNAP-MIB ·
.1.3.6.1.4.1.25506.10.2.1.16.1.10
Object
column r/w
Enumeration
This object identifies the state of the mirror. The value of 'sync' means synchronize mannually. The value of 'swap' means switch the roles of the primary resource and mirror resource. The value of 'promte' means break the mirrored pair and convert the mirror resource into an independent logic volume. The new logic volume will have all of the properties of a regular logic volume. Note that if the action of 'promte' is executed successfully, this mirror resource will become a primary logic volume, and this entry will be deleted automatically.
Context
- MIB
- HH3C-STORAGE-SNAP-MIB
- OID
.1.3.6.1.4.1.25506.10.2.1.16.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cMirrorConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HH3C-STORAGE-SNAP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-STORAGE-SNAP-MIB::hh3cMirrorSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-STORAGE-SNAP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-STORAGE-SNAP-MIB::hh3cMirrorSwitch.<hh3cMirrorLvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-STORAGE-SNAP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-STORAGE-SNAP-MIB::hh3cMirrorSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sync |
2 | swap |
3 | promote |
4 | none |