osPortQosTrust
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.2.1.71
Object
column r/w
Enumeration
port QoS trust mode: l2 - L2 VPT trust mode l3 - L3 DSCP trust mode l2l3 - L3 DSCP mode for IP packets, L2 VPT mode for non IP packets port - Port service level (see osPortSl)
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.2.1.71- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- osPortEntry
- Groups
- 1
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 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortQosTrust'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortQosTrust.<osPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortQosTrust'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | l2 |
3 | l3 |
4 | l2l3 |
5 | port |
Conformance
Member of