hwPriorityIpPreFromCos
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.4.1.12
Object
Indicates whether to set the IP priority the same as the 802.1p priority, that is, copy the 802.1p priority. Options: 1. true(1) -copy 2. false(2) -not copy If this leaf is not specified, the default value is false(2).
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.4.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPriorityEntry
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::hwPriorityIpPreFromCos'
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::hwPriorityIpPreFromCos.<hwPriorityAclIndex>.<hwPriorityIfIndex>.<hwPriorityDirection>'
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::hwPriorityIpPreFromCos'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |