hpSwitchCosPortTrustMode
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.17.1.1.7
Object
column mandatory
r/w
Enumeration
This object determines which trust mode, trustNone, trust802.1pCos, trustTosIpPrecedence, trustTosDffserv, trustAll or trustPartnerDevice applies for the given Port CoS entry. When the trust-mode is anything other than trustNone, the inbound QoS values for the trusted fields will be preserved and any associated inbound queuing will occur. For all configurations, any inbound values NOT specifically included in the trust-mode will be cleared. The default setting is trustAll. These configuration modes are mutually exclusive of one another.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.17.1.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hpSwitchCosPortConfigEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchCosPortTrustMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchCosPortTrustMode.<hpSwitchCosPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchCosPortTrustMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | trustNone |
2 | trust8021pCos |
3 | trustTosIpPrecedence |
4 | trustTosDiffserv |
5 | trustAll |
6 | trustPartnerDevice |