hwPgType
HUAWEI-PROTECTION-MIB ·
.1.3.6.1.4.1.2011.6.50.1.1.1
Object
column r/w
Enumeration
Port protection type. Options: 1.e1(1) - indicates that the port protection type is e1 2.atmapm(2) - indicates that the port protection type is atmapm 3.atmaiu(3) - indicates that the port protection type is atmaiu 4.atmaic(4) - indicates that the port protection type is atmaic 5.atmmmxboard(5) - indicates that the port protection type is atmmmxboard 6.atmmmxport(6) - indicates that the port protection type is atmmmxport 7.eth(7) - indicates that the port protection type is eth
Context
- MIB
- HUAWEI-PROTECTION-MIB
- OID
.1.3.6.1.4.1.2011.6.50.1.1.1- 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::hwPgType'
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::hwPgType.<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::hwPgType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | e1 |
2 | atmapm |
3 | atmaiu |
4 | atmaic |
5 | atmmmxboard |
6 | atmmmxport |
7 | eth |