qosPortTrust
AMER-MIB ·
.1.3.6.1.4.1.6339.100.11.1.2.1.4
Object
column r/w
Enumeration
Configure port trust. priority(0),mls qos trust port priority <cos>; cos(1),mls qos trust cos; cosAndPassThroughDscp(2),oppositemls qos trust cos pass-through-dscp; dscp(3),opposite mls qos trust dscp; dscpAndPassThroughCos(4),opposite cli is mls qos trust dscp pass-through-cos; ipPrecedence(5),opposite cli is mls qos trust ip-precedence; ipPreAndPassThroughCos(6),opposite cli is mls qos trust ip-precedence pass-through-cos.
Context
- MIB
- AMER-MIB
- OID
.1.3.6.1.4.1.6339.100.11.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- qosPortEntry
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 'AMER-MIB' -M '/opt/observium/mibs/dcn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AMER-MIB::qosPortTrust'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AMER-MIB' -M '/opt/observium/mibs/dcn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AMER-MIB::qosPortTrust.<qosPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AMER-MIB' -M '/opt/observium/mibs/dcn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AMER-MIB::qosPortTrust'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | priority |
1 | cos |
2 | cosAndPassThroughDscp |
3 | dscp |
4 | dscpAndPassThroughCos |
5 | ipPrecedence |
6 | ipPreAndPassThroughCos |