hwSubscriberMemberOperType
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.22.1.5
Object
column r/w
Enumeration
Indicates the operation type. Options: 1. add(1) -Add a service port to a subscriber. 2. del(2) -Delete a service port from a subscriber. To add a service port to a subscriber, you must set this leaf to add(1); to delete a service port from a subscriber, you must set this leaf to del(2); to query a service port that exists in a subscriber, this leaf is displayed as add(1).
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.22.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSubscriberMemberEntry
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-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwSubscriberMemberOperType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwSubscriberMemberOperType.<hwSubscriberMemberIfIndex>.<hwSubscriberMemberOntId>.<hwSubscriberMemberGroupId>.<hwSubscriberMemberFlowIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwSubscriberMemberOperType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | add |
2 | del |