hgmpNTDPCacheClusterRole
HUAWEI-HGMP-MIB ·
h3c variant
·
.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 administrator switch (0x01), member switch(0x02), backup switch(0x03), candidate switch(0x10) or an independent switch (incapable of cluster member) (0x11).
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
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/h3c:/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/h3c:/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/h3c:/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 |