hh3chgmpNTDPCacheClusterRole
HH3C-HGMP-MIB ·
.1.3.6.1.4.1.25506.8.7.4.10.1.4
Object
column Enumeration
Cluster role of the current device, which can be a administrator switch (0x01), member switch(0x02), backup switch(0x03), candidate switch(0x10) or an independent switch (incapable of cluster member) (0x11).
Context
- MIB
- HH3C-HGMP-MIB
- OID
.1.3.6.1.4.1.25506.8.7.4.10.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3chgmpNTDPCacheEntry
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-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-HGMP-MIB::hh3chgmpNTDPCacheClusterRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-HGMP-MIB::hh3chgmpNTDPCacheClusterRole.<hh3chgmpNTDPCacheHashIndex>.<hh3chgmpNTDPCacheDeviceID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-HGMP-MIB::hh3chgmpNTDPCacheClusterRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | roleCOSW |
2 | roleMSW |
3 | roleBKSW |
16 | roleCASW |
17 | roleUNISW |