qos3PortTrust
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.11.2.5.1.3
Object
column r/w
Bits
set port trust. cosEnable,dscpEnable and expEnable can be set at the same time;cosDisable,dscpDisable and expDisbable can be set at the same time; cosEnable,dscpEnable and expEnable can not be set at the same time with dscpDisable,cosDisable and expDisbable.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.11.2.5.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- qos3PortEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::qos3PortTrust'
More examples
Read one indexed 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::qos3PortTrust.<qos3PortIndex>'
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::qos3PortTrust'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | cosEnable |
1 | dscpEnable |
2 | expEnable |
3 | cosDisable |
4 | dscpDisable |
5 | expDisbable |