hwFileServerPriority
HUAWEI-LOAD-BACKUP-MIB ·
.1.3.6.1.4.1.2011.6.6.3.1.1.3
Object
column Enumeration
The type (active/standby) of the server. The system can be configured with a maximum of two servers. One as the active server and the other as the standby server. When the active server fails or is unreachable, the standby server starts to function. Options: 1. primaryserver(1) -indicates the active server. 2. secondaryserver(2) -indicates the standby server.
Context
- MIB
- HUAWEI-LOAD-BACKUP-MIB
- OID
.1.3.6.1.4.1.2011.6.6.3.1.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwFileServerEntry
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-LOAD-BACKUP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LOAD-BACKUP-MIB::hwFileServerPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LOAD-BACKUP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LOAD-BACKUP-MIB::hwFileServerPriority.<hwFileServerType>.<hwFileDataType>.<hwFileServerPriority>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LOAD-BACKUP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LOAD-BACKUP-MIB::hwFileServerPriority'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primaryserver |
2 | secondaryserver |