hgmpNTDPCacheClusterRole
HUAWEI-HGMP-MIB ·
.1.3.6.1.4.1.2011.6.7.4.10.1.4
Object
column Enumeration
Cluster role of the current device, which can be a command switch(0X01), member switch(0X02), backup switch(0X03), candidate switch(0X10) or an independent switch(incapable of cluster member)(0X11). The default value is 17.
Context
- MIB
- HUAWEI-HGMP-MIB
- OID
.1.3.6.1.4.1.2011.6.7.4.10.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hgmpNTDPCacheEntry
- Groups
- 1
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 'HUAWEI-HGMP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-HGMP-MIB::hgmpNTDPCacheClusterRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-HGMP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-HGMP-MIB::hgmpNTDPCacheClusterRole.<hgmpNTDPCacheHashIndex>.<hgmpNTDPCacheDeviceID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-HGMP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-HGMP-MIB::hgmpNTDPCacheClusterRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | roleCOSW |
2 | roleMSW |
3 | roleBKSW |
16 | roleCASW |
17 | roleUNISW |
Conformance
Member of