qos2PolicyType
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.27.1.15.4
Object
scalar r/w
Enumeration
the relation between qosPolicyType and CLI:
0 policy-map <policy-map-name>;
1 class <class-map-name>;
2 policy <bits_per_second> <normal_burst_bytes> [pir <peak_rate_bps>] | <maximum_burst_bytes> [{conform-action ACTION | exceed-action ACTION | violate-action ACTION }];
3 policy aggregate <aggregate-policer-name>;
4 accounting.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.27.1.15.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- qos2PolicyTable
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::qos2PolicyType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::qos2PolicyType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | policymap |
1 | matchclassmap |
2 | threeColor |
3 | aggregatePolicer |
4 | accounting |