hwPgWorkMode
HUAWEI-PROTECTION-MIB ·
.1.3.6.1.4.1.2011.6.50.1.1.6
Object
column r/w
Enumeration
Working mode of the protection group. Options: 1.uniformRoute(1) - working mode of the protection group is uniform route 2.diverseRoute(2) - working mode of the protection group is diverse route 3.portState(3) - working mode of the protection group is port state 4.timedelay(4) - working mode of the protection group is delay detection 5.lacp(5) - working mode of the protection group is LACP 6.timebis(6) - working mode of the protection group is timebis
Context
- MIB
- HUAWEI-PROTECTION-MIB
- OID
.1.3.6.1.4.1.2011.6.50.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwProtectionEntry
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-PROTECTION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PROTECTION-MIB::hwPgWorkMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PROTECTION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PROTECTION-MIB::hwPgWorkMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PROTECTION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PROTECTION-MIB::hwPgWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | uniformRoute |
2 | diverseRoute |
3 | portState |
4 | timedelay |
5 | lacp |
6 | timebis |