hwPgGroupProtectTarget
HUAWEI-PROTECTION-MIB ·
.1.3.6.1.4.1.2011.6.50.5.1.9
Object
column r/w
Enumeration
Group protect target. Options: 1. asmainboard(1) -Active main board and standby main board. 2. asmainboardport(2) -Port of active main board and standby main board. 3. asmainboardlag(3) -LAG of active main board and standby main board. 4. ethnniport(4) -Port of Ethernet nni. 5. ethnnilagmember(5) -LAG member of Ethernet nni. 6. eponuniport(6) -Port of EPON uni. 7. gponuniport(7) -Port of GPON uni. 8. stmnniport(8) -Port of STM-1 nni. 9. serviceprocessboard(9)-serviceprocessboard. 10.eponuniont(10) -Ont of EPON uni. 11.gponuniont(11) -Ont of GPON uni. 12.twdmchannelgroup(12) - Channel group of TWDM PON.
Context
- MIB
- HUAWEI-PROTECTION-MIB
- OID
.1.3.6.1.4.1.2011.6.50.5.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPsGroupEntry
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::hwPgGroupProtectTarget'
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::hwPgGroupProtectTarget.<hwPgGroupId>'
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::hwPgGroupProtectTarget'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | asmainboard |
2 | asmainboardport |
3 | asmainboardlag |
4 | ethnniport |
5 | ethnnilagmember |
6 | eponuniport |
7 | gponuniport |
8 | stmnniport |
9 | serviceprocessboard |
10 | eponuniont |
11 | gponuniont |
12 | twdmchannelgroup |